diff options
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r-- | src/net/tmwa/adminhandler.cpp | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp index a7b3ceb5c..ce81c596c 100644 --- a/src/net/tmwa/adminhandler.cpp +++ b/src/net/tmwa/adminhandler.cpp @@ -63,10 +63,7 @@ void AdminHandler::handleMessage(Net::MessageIn &msg) switch (msg.getId()) { case SMSG_ADMIN_KICK_ACK: - if (msg.readInt32() == 0) - NotifyManager::notify(NotifyTypes::KICK_FAIL); - else - NotifyManager::notify(NotifyTypes::KICK_SUCCEED); + processKickAck(msg); break; default: |