From a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 23 Oct 2014 15:34:11 +0300 Subject: In adminhandler add function processKickAck. --- src/net/tmwa/adminhandler.cpp | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) (limited to 'src/net/tmwa') 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: -- cgit v1.2.3-70-g09d2