summaryrefslogtreecommitdiff
path: root/src/commandhandler.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-19 11:47:28 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-19 11:47:28 -0600
commit4d6fd10b94d9c4fb2949272ffe1de1300f33405b (patch)
treedac84561f29e11055017cb57354f840e15ca508a /src/commandhandler.cpp
parent5201050a8822dd0a33ffa3a6e9fee7c73cb215de (diff)
downloadmana-4d6fd10b94d9c4fb2949272ffe1de1300f33405b.tar.gz
mana-4d6fd10b94d9c4fb2949272ffe1de1300f33405b.tar.bz2
mana-4d6fd10b94d9c4fb2949272ffe1de1300f33405b.tar.xz
mana-4d6fd10b94d9c4fb2949272ffe1de1300f33405b.zip
Make /query switch to the new tab
Diffstat (limited to 'src/commandhandler.cpp')
-rw-r--r--src/commandhandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/commandhandler.cpp b/src/commandhandler.cpp
index 81507791..ea0094c3 100644
--- a/src/commandhandler.cpp
+++ b/src/commandhandler.cpp
@@ -337,7 +337,7 @@ void CommandHandler::handleMsg(const std::string &args, ChatTab *tab)
}
void CommandHandler::handleQuery(const std::string &args, ChatTab *tab) {
- if (chatWindow->addWhisperTab(args))
+ if (chatWindow->addWhisperTab(args, true))
return;
tab->chatLog(strprintf(_("Cannont create a whisper tab for nick '%s'!"