Fixed an issue with the help command

This commit is contained in:
Chris 2016-11-04 02:23:10 +01:00
parent 455574b6a5
commit b2a23f992d

View File

@ -134,6 +134,9 @@ class Context
public function isCommandGlobal($command) public function isCommandGlobal($command)
{ {
if (strpos($command," ")!==false) {
list($command, $void) = explode(" ",$command,2);
}
$info = $this->commandInfo[$command]; $info = $this->commandInfo[$command];
return array_key_exists('global', $info); return array_key_exists('global', $info);
} }