diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-22 23:44:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-22 23:44:03 +0300 |
commit | 574e82dd46aa8a035c69917ccecbfd334b0e61f7 (patch) | |
tree | b6dcd46fb7dc1715004e1da79290a7cebca26e58 /src | |
parent | 3e9ae8d8328fbd9c86b3c1d51d87601dcf0d7c48 (diff) | |
download | ManaVerse-574e82dd46aa8a035c69917ccecbfd334b0e61f7.tar.gz ManaVerse-574e82dd46aa8a035c69917ccecbfd334b0e61f7.tar.bz2 ManaVerse-574e82dd46aa8a035c69917ccecbfd334b0e61f7.tar.xz ManaVerse-574e82dd46aa8a035c69917ccecbfd334b0e61f7.zip |
Fix possible crash in channels net code.
Diffstat (limited to 'src')
-rw-r--r-- | src/net/eathena/chathandler.cpp | 2 |
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", |