diff options
Diffstat (limited to 'src/net/eathena/chathandler.cpp')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp index 8e7417427..dd4618482 100644 --- a/src/net/eathena/chathandler.cpp +++ b/src/net/eathena/chathandler.cpp @@ -390,6 +390,18 @@ void ChatHandler::processColorChat(Net::MessageIn &msg) return; } } + else + { + const std::string nick = mSentWhispers.front(); + if (nick.size() > 1 && nick[0] == '#') + { + if (message == strprintf("[ %s ] %s : \302\202\302", + nick.c_str(), localPlayer->getName().c_str())) + { + mSentWhispers.pop(); + } + } + } processChatContinue(message, ChatMsgType::BY_UNKNOWN); } |