summaryrefslogtreecommitdiff
path: root/src/net/tmwa/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-08-23 17:09:34 +0300
committerAndrei Karas <akaras@inbox.ru>2015-08-23 17:09:34 +0300
commit93d55e71b137a43149775ac1283f20acea9a9947 (patch)
treede78979b0c41bc2e96e16d7fdac9ab41b0c71319 /src/net/tmwa/adminhandler.cpp
parentd72a885e0b2c8a2b50a846b5c083fd158078f9c5 (diff)
downloadmanaplus-93d55e71b137a43149775ac1283f20acea9a9947.tar.gz
manaplus-93d55e71b137a43149775ac1283f20acea9a9947.tar.bz2
manaplus-93d55e71b137a43149775ac1283f20acea9a9947.tar.xz
manaplus-93d55e71b137a43149775ac1283f20acea9a9947.zip
Move receive code from adminhandler into separate file.
Diffstat (limited to 'src/net/tmwa/adminhandler.cpp')
-rw-r--r--src/net/tmwa/adminhandler.cpp4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/net/tmwa/adminhandler.cpp b/src/net/tmwa/adminhandler.cpp
index 64638ad46..1d378a77b 100644
--- a/src/net/tmwa/adminhandler.cpp
+++ b/src/net/tmwa/adminhandler.cpp
@@ -26,6 +26,8 @@
#include "net/chathandler.h"
+#include "net/ea/admin.h"
+
#include "net/tmwa/messageout.h"
#include "net/tmwa/protocol.h"
@@ -57,7 +59,7 @@ void AdminHandler::handleMessage(Net::MessageIn &msg)
switch (msg.getId())
{
case SMSG_ADMIN_KICK_ACK:
- processKickAck(msg);
+ Ea::Admin::processKickAck(msg);
break;
default: