summaryrefslogtreecommitdiff
path: root/src/net/tmwa
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/tmwa
parent0d18f85ec3a2b3ded337863ff1bb7ae51fd62658 (diff)
downloadmanaverse-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.gz
manaverse-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.bz2
manaverse-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.tar.xz
manaverse-a29fd5e8a4bca6b6a11c44bff33c79a5f7b44bd3.zip
In adminhandler add function processKickAck.
Diffstat (limited to 'src/net/tmwa')
-rw-r--r--src/net/tmwa/adminhandler.cpp5
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: