summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-12-21 21:37:20 +0300
committerAndrei Karas <akaras@inbox.ru>2014-12-21 21:37:20 +0300
commite8cb5cdebbd47cf2223f837627fbb27c8dc51515 (patch)
tree4955a98b25d9f8783df524f83a7c2ce289f787dd /src/net/eathena/generalhandler.cpp
parenta74ab85da40aaccf490df59cd3fe5bd448fcc7e4 (diff)
downloadmanaplus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.gz
manaplus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.bz2
manaplus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.tar.xz
manaplus-e8cb5cdebbd47cf2223f837627fbb27c8dc51515.zip
Add empty MarketHandler.
Diffstat (limited to 'src/net/eathena/generalhandler.cpp')
-rw-r--r--src/net/eathena/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/eathena/generalhandler.cpp b/src/net/eathena/generalhandler.cpp
index 7be63489e..f8d15ac16 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -57,6 +57,7 @@
#include "net/eathena/itemhandler.h"
#include "net/eathena/loginhandler.h"
#include "net/eathena/mailhandler.h"
+#include "net/eathena/markethandler.h"
#include "net/eathena/mercenaryhandler.h"
#include "net/eathena/network.h"
#include "net/eathena/npchandler.h"
@@ -113,7 +114,8 @@ GeneralHandler::GeneralHandler() :
mBuyingStoreHandler(new BuyingStoreHandler),
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
- mElementalHandler(new ElementalHandler)
+ mElementalHandler(new ElementalHandler),
+ mMarketHandler(new MarketHandler)
{
static const uint16_t _messages[] =
{
@@ -301,6 +303,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mHomunculusHandler);
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
+ mNetwork->registerHandler(mMarketHandler);
}
void GeneralHandler::reload()