summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-15 17:05:31 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-15 17:05:31 +0300
commit2b20ac0419cdeeebf47dd41c18811b683f06eb4a (patch)
treef9be20d6ca320c9ecb8835c469439a7cb3a7ee3f /src/net/tmwa/generalhandler.cpp
parent97899e857e2ebe6bf038b8fdfed81fb489d0d0cb (diff)
downloadplus-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.gz
plus-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.bz2
plus-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.tar.xz
plus-2b20ac0419cdeeebf47dd41c18811b683f06eb4a.zip
Add empty familyhandler.
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 f8f1a1b19..85c7da7c9 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -46,6 +46,7 @@
#include "net/tmwa/cashshophandler.h"
#include "net/tmwa/chathandler.h"
#include "net/tmwa/charserverhandler.h"
+#include "net/tmwa/familyhandler.h"
#include "net/tmwa/gamehandler.h"
#include "net/tmwa/guildhandler.h"
#include "net/tmwa/inventoryhandler.h"
@@ -100,7 +101,8 @@ GeneralHandler::GeneralHandler() :
mServerFeatures(new ServerFeatures),
mMailHandler(new MailHandler),
mAuctionHandler(new AuctionHandler),
- mCashShopHandler(new CashShopHandler)
+ mCashShopHandler(new CashShopHandler),
+ mFamilyHandler(new FamilyHandler)
{
static const uint16_t _messages[] =
{
@@ -217,6 +219,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mMailHandler.get());
mNetwork->registerHandler(mAuctionHandler.get());
mNetwork->registerHandler(mCashShopHandler.get());
+ mNetwork->registerHandler(mFamilyHandler.get());
}
void GeneralHandler::reload()