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
1 changed files with 3 additions and 0 deletions

View File

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