summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-03-09 15:59:51 +0300
committerAndrei Karas <akaras@inbox.ru>2013-03-09 16:15:02 +0300
commit25da12e98285c44279d24ee77a08bd5f563d8ad0 (patch)
tree6f67b770cebe0f76119113c795ee6856af320154 /src/net/eathena/adminhandler.cpp
parentd7e0bbcc76bd6548975dfd30a50910d4967cad55 (diff)
downloadplus-25da12e98285c44279d24ee77a08bd5f563d8ad0.tar.gz
plus-25da12e98285c44279d24ee77a08bd5f563d8ad0.tar.bz2
plus-25da12e98285c44279d24ee77a08bd5f563d8ad0.tar.xz
plus-25da12e98285c44279d24ee77a08bd5f563d8ad0.zip
Add new notifications in some other classes.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 0208b46d5..ba9551dc1 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -25,6 +25,7 @@
#include "actorspritemanager.h"
#include "depricatedevent.h"
#include "game.h"
+#include "notifymanager.h"
#include "playerrelations.h"
#include "net/chathandler.h"
@@ -63,9 +64,9 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
case SMSG_ADMIN_KICK_ACK:
id = msg.readInt32();
if (id == 0)
- SERVER_NOTICE(_("Kick failed!"))
+ NotifyManager::notify(NotifyManager::KICK_FAIL);
else
- SERVER_NOTICE(_("Kick succeeded!"))
+ NotifyManager::notify(NotifyManager::KICK_SUCCEED);
default:
break;
}