From 8a068a256ddfd936d2e6c0f3d45ea24bbdc3129d Mon Sep 17 00:00:00 2001 From: kremsy Date: Mon, 28 Apr 2014 18:53:50 +0200 Subject: [PATCH] chatmessage plugin fix --- application/plugins/ChatMessagePlugin.php | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/application/plugins/ChatMessagePlugin.php b/application/plugins/ChatMessagePlugin.php index b64712e0..f1e24edc 100644 --- a/application/plugins/ChatMessagePlugin.php +++ b/application/plugins/ChatMessagePlugin.php @@ -401,7 +401,8 @@ class ChatMessagePlugin implements CommandListener, Plugin { return $player->nickname; } - return null; + //returns the text given if nothing matches + return $login; } /**