summaryrefslogtreecommitdiff
path: root/src/net/tmwa/generalhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 12:43:07 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-16 12:43:07 +0300
commit5d3d299e22ddda7700f78a0fd0c915be3788087f (patch)
tree5b643b5755c96722b65047c9decdf54a3e34e9c2 /src/net/tmwa/generalhandler.cpp
parentd6012201991a732b6b47e063a52e201450889c74 (diff)
downloadmv-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.gz
mv-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.bz2
mv-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.xz
mv-5d3d299e22ddda7700f78a0fd0c915be3788087f.zip
add empty bankhandler.
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 85c7da7c9..fbf7ec863 100644
--- a/src/net/tmwa/generalhandler.cpp
+++ b/src/net/tmwa/generalhandler.cpp
@@ -41,6 +41,7 @@
#include "net/tmwa/adminhandler.h"
#include "net/tmwa/attrs.h"
#include "net/tmwa/auctionhandler.h"
+#include "net/tmwa/bankhandler.h"
#include "net/tmwa/beinghandler.h"
#include "net/tmwa/buysellhandler.h"
#include "net/tmwa/cashshophandler.h"
@@ -102,7 +103,8 @@ GeneralHandler::GeneralHandler() :
mMailHandler(new MailHandler),
mAuctionHandler(new AuctionHandler),
mCashShopHandler(new CashShopHandler),
- mFamilyHandler(new FamilyHandler)
+ mFamilyHandler(new FamilyHandler),
+ mBankHandler(new BankHandler)
{
static const uint16_t _messages[] =
{
@@ -220,6 +222,7 @@ void GeneralHandler::load()
mNetwork->registerHandler(mAuctionHandler.get());
mNetwork->registerHandler(mCashShopHandler.get());
mNetwork->registerHandler(mFamilyHandler.get());
+ mNetwork->registerHandler(mBankHandler.get());
}
void GeneralHandler::reload()