From a3d9d04eccfe425165e05e338c9b75ef778e6511 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 10 Sep 2014 19:26:38 +0300 Subject: fix special commands in tabs. --- src/gui/widgets/tabs/chattab.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/gui/widgets/tabs/chattab.cpp') 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) -- cgit v1.2.3-70-g09d2