summaryrefslogtreecommitdiff
path: root/src/net/ea/gamehandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 00:32:28 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 00:32:28 +0300
commit0aca242db52695fa0804ac180fc7961b281b422a (patch)
tree8592405060b32827d0412c25f9c5bd742eb6bd57 /src/net/ea/gamehandler.cpp
parenta36ef7797d382c62f02be97976d564418029d24c (diff)
downloadplus-0aca242db52695fa0804ac180fc7961b281b422a.tar.gz
plus-0aca242db52695fa0804ac180fc7961b281b422a.tar.bz2
plus-0aca242db52695fa0804ac180fc7961b281b422a.tar.xz
plus-0aca242db52695fa0804ac180fc7961b281b422a.zip
Add new notifications to gamehandler.
Diffstat (limited to 'src/net/ea/gamehandler.cpp')
-rw-r--r--src/net/ea/gamehandler.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/net/ea/gamehandler.cpp b/src/net/ea/gamehandler.cpp
index eaed1ec5d..4f1a6d5d6 100644
--- a/src/net/ea/gamehandler.cpp
+++ b/src/net/ea/gamehandler.cpp
@@ -25,6 +25,7 @@
#include "client.h"
#include "game.h"
#include "localplayer.h"
+#include "notifymanager.h"
#include "gui/okdialog.h"
@@ -84,7 +85,7 @@ void GameHandler::processMapLogin(Net::MessageIn &msg)
void GameHandler::processWhoAnswer(Net::MessageIn &msg)
{
- SERVER_NOTICE(strprintf(_("Online users: %d"), msg.readInt32()))
+ NotifyManager::notify(NotifyManager::ONLINE_USERS, msg.readInt32());
}
void GameHandler::processCharSwitchResponse(Net::MessageIn &msg)