Remoced "hostip" from Query

This commit is contained in:
Shoghi Cervantes Pueyo 2013-04-23 01:17:39 +02:00
parent cc2addfe92
commit ee73ccc0e2

View File

@ -69,7 +69,7 @@ class Query{
"numplayers" => count($this->server->clients), "numplayers" => count($this->server->clients),
"maxplayers" => $this->server->maxClients, "maxplayers" => $this->server->maxClients,
"hostport" => $this->server->api->getProperty("server-port"), "hostport" => $this->server->api->getProperty("server-port"),
"hostip" => $this->server->api->getProperty("server-ip") //"hostip" => $this->server->api->getProperty("server-ip")
); );
foreach($KVdata as $key => $value){ foreach($KVdata as $key => $value){
$str .= $key."\x00".$value."\x00"; $str .= $key."\x00".$value."\x00";