Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorJoas Schilling <213943+nickvergessen@users.noreply.github.com>2020-05-06 12:07:27 +0300
committerGitHub <noreply@github.com>2020-05-06 12:07:27 +0300
commitb0ef41b82b045591c56038e53e7e180e58b06a9e (patch)
tree80645a6e456a1dd9b961d70453e7b5dfd4cf3879 /lib
parent18a8b500351d05ad521a7bb0c43a60207a0ac957 (diff)
parentf62a8e302a5eb74c8477784b536209be4b63d523 (diff)
Merge pull request #3426 from GlobeNico/master
Executor /help bugfixe
Diffstat (limited to 'lib')
-rw-r--r--lib/Chat/Command/Executor.php2
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());