summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-10-23 15:34:11 +0300
committerAndrei Karas <akaras@inbox.ru>2014-10-23 19:46:20 +0300
commita29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3 (patch)
treee585fc4cbbbf1bf82ad0e50758028599f3402429 /src/net/eathena/adminhandler.cpp
parent0d18f85ec3a2b3ded337863ff1bb7ae51fd62658 (diff)
downloadmv-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.gz
mv-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.bz2
mv-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.xz
mv-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.zip
In adminhandler add function processKickAck.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 3c987cc77..124e09734 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -61,10 +61,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;
case SMSG_ADMIN_GET_LOGIN_ACK:
processAdminGetLoginAck(msg);