diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2020-05-06 12:07:27 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-06 12:07:27 +0300 |
commit | b0ef41b82b045591c56038e53e7e180e58b06a9e (patch) | |
tree | 80645a6e456a1dd9b961d70453e7b5dfd4cf3879 /lib | |
parent | 18a8b500351d05ad521a7bb0c43a60207a0ac957 (diff) | |
parent | f62a8e302a5eb74c8477784b536209be4b63d523 (diff) |
Merge pull request #3426 from GlobeNico/master
Executor /help bugfixe
Diffstat (limited to 'lib')
-rw-r--r-- | lib/Chat/Command/Executor.php | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Chat/Command/Executor.php b/lib/Chat/Command/Executor.php index 661ecbd0c..636a3c5e6 100644 --- a/lib/Chat/Command/Executor.php +++ b/lib/Chat/Command/Executor.php @@ -115,7 +115,7 @@ class Executor { if ($command->getApp() !== '') { $response = $this->execHelpSingleCommand($room, $message, $command->getApp() . ' ' . $command->getCommand()); } else { - if ($command->getCommand() === 'help') { + if ($command->getCommand() === 'help' || strpos($command->getScript(),'alias:') !== false) { continue; } $response = $this->execHelpSingleCommand($room, $message, $command->getCommand()); |