Fixed usage stats

This commit is contained in:
Shoghi Cervantes Pueyo 2013-02-02 16:21:00 +01:00
parent ad98fbf380
commit e6c2ddbb47

View File

@ -232,8 +232,8 @@ class ServerAPI{
"os" => Utils::getOS(), "os" => Utils::getOS(),
"version" => MAJOR_VERSION, "version" => MAJOR_VERSION,
"protocol" => CURRENT_PROTOCOL, "protocol" => CURRENT_PROTOCOL,
"online" => count($this->clients), "online" => count($this->server->clients),
"max" => $this->maxClients, "max" => $this->server->maxClients,
)); ));
} }