diff options
| author | Markus Mittendrein <git@maxmitti.tk> | 2016-09-27 19:30:18 +0200 |
|---|---|---|
| committer | Markus Mittendrein <git@maxmitti.tk> | 2016-09-27 19:30:18 +0200 |
| commit | c95d18d669ef3fb7445c34f0f9fa5461b2a81207 (patch) | |
| tree | 8ce9451f07cfa776509b7b3aa2a1177c14a1050a /src/crsm.cpp | |
| parent | 87449c37622aec62a01d83338d986b45150f4f22 (diff) | |
| download | manager-c95d18d669ef3fb7445c34f0f9fa5461b2a81207.tar.gz manager-c95d18d669ef3fb7445c34f0f9fa5461b2a81207.zip | |
Disable help long for IRC
Diffstat (limited to 'src/crsm.cpp')
| -rw-r--r-- | src/crsm.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp index e8190b7..31de32b 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -2289,6 +2289,11 @@ CMD_FUNCTION_IMPL(help) recursive = true; } bool longHelp = recursive || (args == "long"); + if(longHelp && client.interface == IRC) + { + respond(client, "Die lange Hilfe ist über IRC nicht verfügbar.\n"); + return Success; + } if(args.isEmpty() || longHelp) { QString response = "Verfügbare Befehle: "; |
