From b2a23f992d2b73583f1c884b673f1ce0026029d2 Mon Sep 17 00:00:00 2001 From: Christopher Vagnetoft Date: Fri, 4 Nov 2016 02:23:10 +0100 Subject: [PATCH] Fixed an issue with the help command --- lib/Context.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lib/Context.php b/lib/Context.php index 0c791d5..ef920e7 100644 --- a/lib/Context.php +++ b/lib/Context.php @@ -134,6 +134,9 @@ class Context public function isCommandGlobal($command) { + if (strpos($command," ")!==false) { + list($command, $void) = explode(" ",$command,2); + } $info = $this->commandInfo[$command]; return array_key_exists('global', $info); }