diff options
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index c7b437944..c1cc349d4 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -22,12 +22,13 @@ #include "net/tmwa/adminhandler.h" -#include "notifications.h" #include "notifymanager.h" #include "net/tmwa/messageout.h" #include "net/tmwa/protocol.h" +#include "resources/notifytypes.h" + #include <string> #include "debug.h" @@ -56,9 +57,9 @@ void AdminHandler::handleMessage(Net::MessageIn &msg) { case SMSG_ADMIN_KICK_ACK: if (msg.readInt32() == 0) - NotifyManager::notify(NotifyManager::KICK_FAIL); + NotifyManager::notify(NotifyTypes::KICK_FAIL); else - NotifyManager::notify(NotifyManager::KICK_SUCCEED); + NotifyManager::notify(NotifyTypes::KICK_SUCCEED); break; default: |