summaryrefslogtreecommitdiff
path: root/src/net/eathena/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-01-07 00:53:46 +0300
committerAndrei Karas <akaras@inbox.ru>2015-01-07 00:53:46 +0300
commit291f73098e52742bed3f4c4271524e347ee317e1 (patch)
tree51ec8f3e8ce4cb27fa74e5af2c300b5660d3623a /src/net/eathena/generalhandler.cpp
parent6eb12f07e8d1c813e094097dd94bf4fc450bace3 (diff)
downloadplus-291f73098e52742bed3f4c4271524e347ee317e1.tar.gz
plus-291f73098e52742bed3f4c4271524e347ee317e1.tar.bz2
plus-291f73098e52742bed3f4c4271524e347ee317e1.tar.xz
plus-291f73098e52742bed3f4c4271524e347ee317e1.zip
Add empty vending handler.
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 30697388e..570d79136 100644
--- a/src/net/eathena/generalhandler.cpp
+++ b/src/net/eathena/generalhandler.cpp
@@ -69,6 +69,7 @@
#include "net/eathena/tradehandler.h"
#include "net/eathena/skillhandler.h"
#include "net/eathena/questhandler.h"
+#include "net/eathena/vendinghandler.h"
#include "resources/db/itemdbstat.h"
@@ -115,7 +116,8 @@ GeneralHandler::GeneralHandler() :
mHomunculusHandler(new HomunculusHandler),
mFriendsHandler(new FriendsHandler),
mElementalHandler(new ElementalHandler),
- mMarketHandler(new MarketHandler)
+ mMarketHandler(new MarketHandler),
+ mVendingHandler(new VendingHandler)
{
static const uint16_t _messages[] =
{
@@ -304,6 +306,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
mNetwork->registerHandler(mMarketHandler);
+ mNetwork->registerHandler(mVendingHandler);
}
void GeneralHandler::reload()