diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-09-16 12:43:07 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-09-16 12:43:07 +0300 |
commit | 5d3d299e22ddda7700f78a0fd0c915be3788087f (patch) | |
tree | 5b643b5755c96722b65047c9decdf54a3e34e9c2 /src/net/tmwa/generalhandler.cpp | |
parent | d6012201991a732b6b47e063a52e201450889c74 (diff) | |
download | manaplus-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.gz manaplus-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.bz2 manaplus-5d3d299e22ddda7700f78a0fd0c915be3788087f.tar.xz manaplus-5d3d299e22ddda7700f78a0fd0c915be3788087f.zip |
add empty bankhandler.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 5 |
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() |