From 55cc74ec8465492dbb27f06eab1f7f15af47840f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Mon, 19 May 2014 00:03:36 +0200 Subject: [PATCH] don't report exception chat messages --- application/core/Chat.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/core/Chat.php b/application/core/Chat.php index f09bff0b..ebca1e0e 100644 --- a/application/core/Chat.php +++ b/application/core/Chat.php @@ -76,7 +76,7 @@ class Chat { $this->maniaControl->client->chatSendServerMessage($chatMessage); } else { $chatMessage = '$<$z$ff0' . $this->getPrefix($prefix) . $message . '$>'; - $login = Player::parseLogin($login); + $login = Player::parseLogin($login); try { $this->maniaControl->client->chatSendServerMessage($chatMessage, $login); } catch (UnknownPlayerException $e) { @@ -152,7 +152,6 @@ class Chat { */ public function sendException(\Exception $exception, $login = null) { $message = "Exception occurred: '{$exception->getMessage()}' ({$exception->getCode()})"; - $this->maniaControl->errorHandler->triggerDebugNotice($message); return $this->sendError($message, $login); }