From 25da12e98285c44279d24ee77a08bd5f563d8ad0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 9 Mar 2013 15:59:51 +0300 Subject: Add new notifications in some other classes. --- src/net/tmwa/adminhandler.cpp | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/net/tmwa/adminhandler.cpp') diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index dcb9d10a1..6f356c871 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/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; } -- cgit v1.2.3-70-g09d2