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