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/tmwa/adminhandler.cpp | |
parent | 0d18f85ec3a2b3ded337863ff1bb7ae51fd62658 (diff) | |
download | manaplus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.gz manaplus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.bz2 manaplus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.xz manaplus-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.zip |
In adminhandler add function processKickAck.
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: |