From b36eff12bc50c9af64590971f8b9253174a5b269 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Fri, 25 Jul 2014 18:09:51 +0200 Subject: [PATCH] replaced startup server options loading message by logging --- application/core/Server/ServerOptionsMenu.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/application/core/Server/ServerOptionsMenu.php b/application/core/Server/ServerOptionsMenu.php index f6c1d05c..9ae4590f 100644 --- a/application/core/Server/ServerOptionsMenu.php +++ b/application/core/Server/ServerOptionsMenu.php @@ -15,6 +15,7 @@ use ManiaControl\Callbacks\CallbackListener; use ManiaControl\Callbacks\Callbacks; use ManiaControl\Callbacks\TimerListener; use ManiaControl\Configurator\ConfiguratorMenu; +use ManiaControl\Logger; use ManiaControl\ManiaControl; use ManiaControl\Players\Player; use Maniaplanet\DedicatedServer\Structures\ServerOptions; @@ -205,9 +206,9 @@ class ServerOptionsMenu implements CallbackListener, ConfiguratorMenu, TimerList } if ($loaded) { - $this->maniaControl->chat->sendSuccessToAdmins('Server Options successfully loaded!'); + Logger::logInfo('Server Options successfully loaded!'); } else { - $this->maniaControl->chat->sendErrorToAdmins('Error loading Server Options!'); + Logger::logError('Error loading Server Options!'); } return $loaded;