From 2b5db5baf923a0c822e7ee048f218fd264e91f19 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 12 Nov 2014 16:56:14 +0300 Subject: Add missing packet field comments. --- src/net/ea/adminhandler.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/net/ea/adminhandler.cpp') diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp index 4dd8083f3..cf6869422 100644 --- a/src/net/ea/adminhandler.cpp +++ b/src/net/ea/adminhandler.cpp @@ -93,7 +93,7 @@ void AdminHandler::createItems(const int id, const int color, void AdminHandler::processKickAck(Net::MessageIn &msg) { - if (msg.readInt32() == 0) + if (msg.readInt32("flag") == 0) NotifyManager::notify(NotifyTypes::KICK_FAIL); else NotifyManager::notify(NotifyTypes::KICK_SUCCEED); -- cgit v1.2.3-60-g2f50