summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r--src/net/tmwa/generalhandler.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp
index b42020ce0..a34da33dc 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -67,6 +67,7 @@
#include "net/tmwa/tradehandler.h"
#include "net/tmwa/skillhandler.h"
#include "net/tmwa/questhandler.h"
+#include "net/tmwa/vendinghandler.h"
#include "resources/db/itemdbstat.h"
@@ -113,7 +114,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[] =
{
@@ -240,6 +242,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mFriendsHandler);
mNetwork->registerHandler(mElementalHandler);
mNetwork->registerHandler(mMarketHandler);
+ mNetwork->registerHandler(mVendingHandler);
}
void GeneralHandler::reload()