From 9943c1e808204ceac6fc96c22edab33f26aabcbf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Steffen=20Schro=CC=88der?= Date: Thu, 17 Jul 2014 20:02:55 +0200 Subject: [PATCH] used utility method --- application/core/Commands/CommandManager.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/application/core/Commands/CommandManager.php b/application/core/Commands/CommandManager.php index 53a9e056..debd9599 100644 --- a/application/core/Commands/CommandManager.php +++ b/application/core/Commands/CommandManager.php @@ -146,7 +146,7 @@ class CommandManager implements CallbackListener { */ public function handleChatCallback(array $callback) { // Check for command - if (!$callback[1][3]) { + if (!$this->isCommandMessage($callback)) { return; }