Fixed an issue with the help command
This commit is contained in:
parent
455574b6a5
commit
b2a23f992d
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user