summaryrefslogtreecommitdiff
path: root/src/game.cpp
diff options
context:
space:
mode:
authorJared Adams <jaxad0127@gmail.com>2009-04-02 06:08:23 -0600
committerJared Adams <jaxad0127@gmail.com>2009-04-02 06:10:19 -0600
commit128f908908b77b242b749b27879ba2a9f70a94f6 (patch)
tree613c7966a2711189b999bbed152294f3659f70f9 /src/game.cpp
parented907c859026ad2133858012b4798f7c074366c4 (diff)
downloadmana-128f908908b77b242b749b27879ba2a9f70a94f6.tar.gz
mana-128f908908b77b242b749b27879ba2a9f70a94f6.tar.bz2
mana-128f908908b77b242b749b27879ba2a9f70a94f6.tar.xz
mana-128f908908b77b242b749b27879ba2a9f70a94f6.zip
Add some missing handler for eAthena
Also expand aAthena's AdminHandler
Diffstat (limited to 'src/game.cpp')
-rw-r--r--src/game.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/game.cpp b/src/game.cpp
index 9b6524f2..15beb99c 100644
--- a/src/game.cpp
+++ b/src/game.cpp
@@ -101,6 +101,7 @@
#else
#include "net/ea/gui/partytab.h"
#include "net/ea/network.h"
+#include "net/ea/adminhandler.h"
#include "net/ea/chathandler.h"
#include "net/ea/beinghandler.h"
#include "net/ea/buysellhandler.h"
@@ -360,6 +361,7 @@ Game::Game():
#else
Game::Game(Network *network):
mNetwork(network),
+ mAdminHandler(new AdminHandler),
mBeingHandler(new BeingHandler(config.getValue("EnableSync", 0) == 1)),
mEquipmentHandler(new EquipmentHandler),
mSkillHandler(new SkillHandler),
@@ -420,6 +422,7 @@ Game::Game(Network *network):
Net::registerHandler(mTradeHandler.get());
Net::registerHandler(mEffectHandler.get());
#else
+ network->registerHandler(mAdminHandler.get());
network->registerHandler(mBeingHandler.get());
network->registerHandler(mBuySellHandler.get());
network->registerHandler(mChatHandler.get());