diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-10-23 15:34:11 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-10-23 19:46:20 +0300 |
commit | a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3 (patch) | |
tree | e585fc4cbbbf1bf82ad0e50758028599f3402429 /src/net/eathena/adminhandler.cpp | |
parent | 0d18f85ec3a2b3ded337863ff1bb7ae51fd62658 (diff) | |
download | plus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.gz plus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.bz2 plus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.xz plus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.zip |
In adminhandler add function processKickAck.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r-- | src/net/eathena/adminhandler.cpp | 5 |
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); |