From c4f3cad350f76f749c5393df41573ca21532feb2 Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 23 Jan 2014 17:47:21 +0100 Subject: [PATCH] small bugfix --- application/core/Players/Player.php | 1 - application/core/Server/ServerCommands.php | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/application/core/Players/Player.php b/application/core/Players/Player.php index 777b8cbb..b7bad125 100644 --- a/application/core/Players/Player.php +++ b/application/core/Players/Player.php @@ -211,5 +211,4 @@ class Player { $this->autoTarget = (bool)(intval($spectatorStatus / 1000) % 10); $this->currentTargetId = intval($spectatorStatus / 10000); } - } diff --git a/application/core/Server/ServerCommands.php b/application/core/Server/ServerCommands.php index 87ec4661..c5c3a654 100644 --- a/application/core/Server/ServerCommands.php +++ b/application/core/Server/ServerCommands.php @@ -157,7 +157,7 @@ class ServerCommands implements CallbackListener, CommandListener, ManialinkPage return; } $systemInfo = $this->maniaControl->server->getSystemInfo(); - $message = 'SystemInfo: ip=' . $systemInfo['PublishedIp'] . ', port=' . $systemInfo['Port'] . ', p2pPort=' . $systemInfo['P2PPort'] . ', title=' . $systemInfo['TitleId'] . ', login=' . $systemInfo['ServerLogin'] . '.'; + $message = 'SystemInfo: ip=' . $systemInfo->publishedIp . ', port=' . $systemInfo->port . ', p2pPort=' . $systemInfo->p2PPort . ', title=' . $systemInfo->titleId . ', login=' . $systemInfo->serverLogin . '.'; $this->maniaControl->chat->sendInformation($message, $player->login); }