From 05e70ef8e2dbb05b6e4c23cb5cd44b7df2624fef Mon Sep 17 00:00:00 2001 From: kremsy Date: Thu, 14 Aug 2014 19:08:23 +0200 Subject: [PATCH] minor bugfix --- application/core/Players/PlayerActions.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/application/core/Players/PlayerActions.php b/application/core/Players/PlayerActions.php index bb47042f..d8532b0e 100644 --- a/application/core/Players/PlayerActions.php +++ b/application/core/Players/PlayerActions.php @@ -238,7 +238,7 @@ class PlayerActions { try { $this->maniaControl->getClient()->unIgnore($targetLogin); } catch (NotInListException $e) { - $this->maniaControl->getChat()->sendError('Player is not ignored!'); + $this->maniaControl->getChat()->sendError('Player is not ignored!', $adminLogin); return; } @@ -271,7 +271,7 @@ class PlayerActions { try { $this->maniaControl->getClient()->ignore($targetLogin); } catch (AlreadyInListException $e) { - $this->maniaControl->getChat()->sendError("Player already ignored!"); + $this->maniaControl->getChat()->sendError("Player already ignored!", $adminLogin); return; }