summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-03-26 21:41:28 -0600
committerJared Adams <jaxad0127@gmail.com>2009-03-26 21:41:28 -0600
commite03bd01fa02da71d41b85d3710a971da5a9c6c32 (patch)
treed056eab8dbab97401c25c9962ce2561d5687e469 /src
parent2d5d31406ab057abd9417d13ab808f6823b2860b (diff)
downloadmana-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.gz
mana-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.bz2
mana-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.xz
mana-e03bd01fa02da71d41b85d3710a971da5a9c6c32.zip
Add whisper tabs for TMWServ
Diffstat (limited to 'src')
-rw-r--r--src/net/tmwserv/chathandler.cpp7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/net/tmwserv/chathandler.cpp b/src/net/tmwserv/chathandler.cpp
index 5a0730a6..65fd062c 100644
--- a/src/net/tmwserv/chathandler.cpp
+++ b/src/net/tmwserv/chathandler.cpp
@@ -180,12 +180,7 @@ void ChatHandler::handlePrivateMessage(MessageIn &msg)
std::string userNick = msg.readString();
std::string chatMsg = msg.readString();
- if (!chatWindow->tabExists(userNick))
- {
- // TODO: proper whisper tabs
- //chatWindow->createNewChannelTab(userNick);
- }
- chatWindow->chatLog(userNick + ": " + chatMsg, BY_OTHER, userNick);
+ chatWindow->whisper(userNick, chatMsg);
}
void ChatHandler::handleAnnouncement(MessageIn &msg)