diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:24:42 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-07 17:24:42 +0300 |
commit | f899460658ad3abc8d02e7ca129b790b1c8c9736 (patch) | |
tree | deb30c8bd693bacd10b87cc2f4dc48f003aea368 /src/net/ea/chathandler.cpp | |
parent | e3f53de7742609f7354869b066076e17f9774a11 (diff) | |
download | ManaVerse-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.gz ManaVerse-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.bz2 ManaVerse-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.xz ManaVerse-f899460658ad3abc8d02e7ca129b790b1c8c9736.zip |
Add missing whisper error status.
Diffstat (limited to 'src/net/ea/chathandler.cpp')
-rw-r--r-- | src/net/ea/chathandler.cpp | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/src/net/ea/chathandler.cpp b/src/net/ea/chathandler.cpp index b10123706..9f307f545 100644 --- a/src/net/ea/chathandler.cpp +++ b/src/net/ea/chathandler.cpp @@ -121,6 +121,16 @@ void ChatHandler::processWhisperResponseContinue(const uint8_t type) ChatMsgType::BY_SERVER); } break; + case 0x03: + if (chatWindow) + { + chatWindow->addWhisper(nick, + // TRANSLATORS: chat message + strprintf(_("Whisper could not " + "be sent, you ignored by all players.")), + ChatMsgType::BY_SERVER); + } + break; default: if (logger) { |