summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/widgets/chattab.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/gui/widgets/chattab.cpp b/src/gui/widgets/chattab.cpp
index fa61f0dcd..f120cfb06 100644
--- a/src/gui/widgets/chattab.cpp
+++ b/src/gui/widgets/chattab.cpp
@@ -387,7 +387,10 @@ void ChatTab::chatInput(const std::string &message)
handleCommand(std::string(msg, 1));
break;
case '?':
- handleHelp(std::string(msg, 1));
+ if (msg.size() > 1)
+ handleHelp(std::string(msg, 1));
+ else
+ handleInput(msg);
break;
default:
handleInput(msg);