diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2019-04-02 09:31:33 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-04-02 09:31:33 +0300 |
commit | f3bf14bb5592bfba608f85a32e8ccc444a91fa89 (patch) | |
tree | 598f2f8389abaf0b3a929ae50ebef39cc0528811 /lib/Chat | |
parent | 980864527fbdf8166ab32238fe74e53c656ddfe6 (diff) | |
parent | 2c2b6b42b79c44a715782b6a23a0e6b9f84df70d (diff) |
Merge pull request #1656 from nextcloud/bugfix/noid/command-interface-finish
Add a description to the commands admin settings
Diffstat (limited to 'lib/Chat')
-rw-r--r-- | lib/Chat/Command/Executor.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/Chat/Command/Executor.php b/lib/Chat/Command/Executor.php index 111655d58..d48fef5f3 100644 --- a/lib/Chat/Command/Executor.php +++ b/lib/Chat/Command/Executor.php @@ -126,6 +126,10 @@ class Executor { } } + if (empty($helps)) { + return $this->l->t('There are currently no commands available.'); + } + // FIXME Implement a useful help return implode("\n", $helps); } |