diff options
| -rw-r--r-- | src/crsm.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/crsm.cpp b/src/crsm.cpp index 9b6022b..5cddb73 100644 --- a/src/crsm.cpp +++ b/src/crsm.cpp @@ -2360,6 +2360,7 @@ void CRSM::handleIrcMessage(const ClientInfo &client, QString message, const QSt QString command; + // TODO: compare according to the IRC standard (case-insensitive, what else? maybe libcommuni has something like that already?) if(target == Config.IRC.IngameChannel && Session.IRC.UseIngameChat) { if(action) @@ -2596,7 +2597,7 @@ CMD_FUNCTION_IMPL(help) } CMD_FUNCTION_IMPL(passToClonk) - control.rawCommand(cmd + ' ' + args); + control.rawCommand(args.isEmpty() ? cmd : (cmd + ' ' + args)); return Success; } |
