summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 13:20:02 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 13:20:02 +0300
commit32a344ef8f062c5fd5ec84321b4975ceba1e377d (patch)
tree988f00d2b877144eb5b5fcca7a852a44c2439156 /src/net/tmwa/generalhandler.cpp
parent42407f169ac67d375cba959bc553ffc186436cba (diff)
downloadplus-32a344ef8f062c5fd5ec84321b4975ceba1e377d.tar.gz
plus-32a344ef8f062c5fd5ec84321b4975ceba1e377d.tar.bz2
plus-32a344ef8f062c5fd5ec84321b4975ceba1e377d.tar.xz
plus-32a344ef8f062c5fd5ec84321b4975ceba1e377d.zip
Add empty auctionhandler.
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 c683c220d..dabf4efce 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -40,6 +40,7 @@
#include "net/tmwa/adminhandler.h"
#include "net/tmwa/attrs.h"
+#include "net/tmwa/auctionhandler.h"
#include "net/tmwa/beinghandler.h"
#include "net/tmwa/buysellhandler.h"
#include "net/tmwa/chathandler.h"
@@ -96,7 +97,8 @@ GeneralHandler::GeneralHandler() :
mTradeHandler(new TradeHandler),
mQuestHandler(new QuestHandler),
mServerFeatures(new ServerFeatures),
- mMailHandler(new MailHandler)
+ mMailHandler(new MailHandler),
+ mAuctionHandler(new AuctionHandler)
{
static const uint16_t _messages[] =
{
@@ -211,6 +213,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mPetHandler.get());
mNetwork->registerHandler(mQuestHandler.get());
mNetwork->registerHandler(mMailHandler.get());
+ mNetwork->registerHandler(mAuctionHandler.get());
}
void GeneralHandler::reload()