diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-10 19:26:38 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-10 19:26:38 +0300 |
commit | a3d9d04eccfe425165e05e338c9b75ef778e6511 (patch) | |
tree | 8d04b8f62025733e5fa86010fcf2046b929847d8 | |
parent | 732903900991f5b6e6ab5732b4c25bf409d3b39e (diff) | |
download | mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.gz mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.bz2 mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.tar.xz mv-a3d9d04eccfe425165e05e338c9b75ef778e6511.zip |
fix special commands in tabs.
-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) |