removed useless methods

This commit is contained in:
kremsy
2014-02-15 13:04:31 +01:00
committed by Steffen Schröder
parent cf47fb1792
commit 0a787e97be
7 changed files with 9 additions and 46 deletions

View File

@ -257,7 +257,7 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage
$this->maniaControl->authenticationManager->sendNotAllowed($player);
return;
}
$systemInfo = $this->maniaControl->server->getSystemInfo();
$systemInfo = $this->maniaControl->client->getSystemInfo();
$message = 'SystemInfo: ip=' . $systemInfo->publishedIp . ', port=' . $systemInfo->port . ', p2pPort=' . $systemInfo->p2PPort . ', title=' . $systemInfo->titleId . ', login=' . $systemInfo->serverLogin . '.';
$this->maniaControl->chat->sendInformation($message, $player->login);
}