forgot to log message

This commit is contained in:
kremsy 2013-12-30 20:16:37 +01:00
parent b69800a3df
commit 1b4af0dd5d

View File

@ -284,6 +284,9 @@ class ScriptSettings implements ConfiguratorMenu,CallbackListener {
$title = $this->maniaControl->authenticationManager->getAuthLevelName($player->authLevel);
$this->maniaControl->chat->sendInformation('$ff0' . $title . ' $<' . $player->nickname . '$> set Scriptsetting $<' . $chatMessage . '$>!');
// log console message
$this->maniaControl->log(Formatter::stripCodes($title . ' ' . $player->nickname . ' set Scriptsettings ' . $chatMessage . '!'));
// Trigger own callback
$this->maniaControl->callbackManager->triggerCallback(self::CB_SCRIPTSETTINGS_CHANGED, array(self::CB_SCRIPTSETTINGS_CHANGED));
}