used utility method

This commit is contained in:
Steffen Schröder 2014-07-17 20:02:55 +02:00
parent 6bf039d446
commit 9943c1e808

View File

@ -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;
}