diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/gui/widgets/tabs/chattab.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gui/widgets/tabs/chattab.cpp b/src/gui/widgets/tabs/chattab.cpp index 31c4fb0ab..d699b29fe 100644 --- a/src/gui/widgets/tabs/chattab.cpp +++ b/src/gui/widgets/tabs/chattab.cpp @@ -445,7 +445,8 @@ void ChatTab::handleCommand(const std::string &msg) std::string args(msg, pos == std::string::npos ? msg.size() : pos + 1); args = trim(args); - inputManager.executeChatCommand(type, args, this); + if (!handleCommand(type, args)) + inputManager.executeChatCommand(type, args, this); } void ChatTab::handleHelp(const std::string &msg) |