summaryrefslogtreecommitdiff
path: root/src/notifymanager.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 14:54:15 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 14:54:15 +0300
commite433cda19d0d1d305a7a069a7930c2c7cf852930 (patch)
tree27abfcc9b4bb1e755b2c66519ad0abbb51219528 /src/notifymanager.cpp
parent29c0c9e731694a40a6f2e41c6bdedb4b78e2b952 (diff)
downloadplus-e433cda19d0d1d305a7a069a7930c2c7cf852930.tar.gz
plus-e433cda19d0d1d305a7a069a7930c2c7cf852930.tar.bz2
plus-e433cda19d0d1d305a7a069a7930c2c7cf852930.tar.xz
plus-e433cda19d0d1d305a7a069a7930c2c7cf852930.zip
add new notifications to playerhandler.
Diffstat (limited to 'src/notifymanager.cpp')
-rw-r--r--src/notifymanager.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/notifymanager.cpp b/src/notifymanager.cpp
index dcbd18c8f..86fe58491 100644
--- a/src/notifymanager.cpp
+++ b/src/notifymanager.cpp
@@ -105,6 +105,12 @@ namespace NotifyManager
const NotificationInfo &info = notifications[message];
switch (info.flags)
{
+ case STRING:
+ {
+ localChatTab->chatLog(strprintf(gettext(info.text),
+ str.c_str()), BY_SERVER);
+ break;
+ }
case GUILD_STRING:
{
ChatTab *const tab = getGuildTab();