summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMarkus Mittendrein <git@maxmitti.tk>2016-09-27 19:30:18 +0200
committerMarkus Mittendrein <git@maxmitti.tk>2016-09-27 19:30:18 +0200
commitc95d18d669ef3fb7445c34f0f9fa5461b2a81207 (patch)
tree8ce9451f07cfa776509b7b3aa2a1177c14a1050a /src
parent87449c37622aec62a01d83338d986b45150f4f22 (diff)
downloadmanager-c95d18d669ef3fb7445c34f0f9fa5461b2a81207.tar.gz
manager-c95d18d669ef3fb7445c34f0f9fa5461b2a81207.zip
Disable help long for IRC
Diffstat (limited to 'src')
-rw-r--r--src/crsm.cpp5
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: ";