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(),
"version" => MAJOR_VERSION,
"protocol" => CURRENT_PROTOCOL,
"online" => count($this->clients),
"max" => $this->maxClients,
"online" => count($this->server->clients),
"max" => $this->server->maxClients,
));
}