summaryrefslogtreecommitdiff
path: root/src/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-08-23 21:59:43 +0300
committerAndrei Karas <akaras@inbox.ru>2014-08-23 21:59:43 +0300
commit1a652f220d1c74333cd2f54953dbaf41907314b6 (patch)
treefdaf09d8cb84ca036bdf73c47b0de5165d9e773d /src/commands.cpp
parent475aa157df7400ce40ef9a5cc4cb441291d45df9 (diff)
downloadplus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.gz
plus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.bz2
plus-1a652f220d1c74333cd2f54953dbaf41907314b6.tar.xz
plus-1a652f220d1c74333cd2f54953dbaf41907314b6.zip
Move chat command /query into actions.
Diffstat (limited to 'src/commands.cpp')
-rw-r--r--src/commands.cpp21
1 files changed, 0 insertions, 21 deletions
diff --git a/src/commands.cpp b/src/commands.cpp
index c80c2cf3f..8e90532c8 100644
--- a/src/commands.cpp
+++ b/src/commands.cpp
@@ -251,27 +251,6 @@ static void outStringNormal(ChatTab *const tab,
}
}
-impHandler(query)
-{
- if (chatWindow)
- {
- if (chatWindow->addWhisperTab(event.args, true))
- {
- chatWindow->saveState();
- return true;
- }
- }
-
- if (event.tab)
- {
- // TRANSLATORS: new whisper query
- event.tab->chatLog(strprintf(_("Cannot create a whisper tab for nick "
- "\"%s\"! It either already exists, or is you."),
- event.args.c_str()), ChatMsgType::BY_SERVER);
- }
- return true;
-}
-
impHandler0(clear)
{
if (chatWindow)