diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 21:41:28 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-03-26 21:41:28 -0600 |
commit | e03bd01fa02da71d41b85d3710a971da5a9c6c32 (patch) | |
tree | d056eab8dbab97401c25c9962ce2561d5687e469 /src/net | |
parent | 2d5d31406ab057abd9417d13ab808f6823b2860b (diff) | |
download | mana-client-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.gz mana-client-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.bz2 mana-client-e03bd01fa02da71d41b85d3710a971da5a9c6c32.tar.xz mana-client-e03bd01fa02da71d41b85d3710a971da5a9c6c32.zip |
Add whisper tabs for TMWServ
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/tmwserv/chathandler.cpp | 7 |
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) |