summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/chathandler.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/net/eathena/chathandler.cpp b/src/net/eathena/chathandler.cpp
index 950363350..e7b8e66ec 100644
--- a/src/net/eathena/chathandler.cpp
+++ b/src/net/eathena/chathandler.cpp
@@ -393,7 +393,7 @@ void ChatHandler::processColorChat(Net::MessageIn &msg)
}
else
{
- const std::string nick = mSentWhispers.front();
+ const std::string nick = getLastWhisperNick();
if (nick.size() > 1 && nick[0] == '#')
{
if (message == strprintf("[ %s ] %s : \302\202\302",