summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-07 17:24:42 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-07 17:24:42 +0300
commitf899460658ad3abc8d02e7ca129b790b1c8c9736 (patch)
treedeb30c8bd693bacd10b87cc2f4dc48f003aea368 /src
parente3f53de7742609f7354869b066076e17f9774a11 (diff)
downloadplus-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.gz
plus-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.bz2
plus-f899460658ad3abc8d02e7ca129b790b1c8c9736.tar.xz
plus-f899460658ad3abc8d02e7ca129b790b1c8c9736.zip
Add missing whisper error status.
Diffstat (limited to 'src')
-rw-r--r--src/net/ea/chathandler.cpp10
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)
{