diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:19:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-02-28 21:19:19 +0300 |
commit | b3fb42d3225282bc146847488a74536953a2d726 (patch) | |
tree | 8646eb17fc496ced06805a4878f911be11e4ba5e /src/net/tmwa/generalhandler.cpp | |
parent | b96242e1d5a6af71e6f884596f77268743945c63 (diff) | |
download | ManaVerse-b3fb42d3225282bc146847488a74536953a2d726.tar.gz ManaVerse-b3fb42d3225282bc146847488a74536953a2d726.tar.bz2 ManaVerse-b3fb42d3225282bc146847488a74536953a2d726.tar.xz ManaVerse-b3fb42d3225282bc146847488a74536953a2d726.zip |
Build mailhandler only if eathena enabled.
Diffstat (limited to 'src/net/tmwa/generalhandler.cpp')
-rw-r--r-- | src/net/tmwa/generalhandler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/tmwa/generalhandler.cpp b/src/net/tmwa/generalhandler.cpp index 2a353df80..a1b1f45bc 100644 --- a/src/net/tmwa/generalhandler.cpp +++ b/src/net/tmwa/generalhandler.cpp @@ -105,7 +105,6 @@ GeneralHandler::GeneralHandler() : mTradeHandler(new TradeHandler), mQuestHandler(new QuestHandler), mServerFeatures(new ServerFeatures), - mMailHandler(new MailHandler), #ifdef EATHENA_SUPPORT mAuctionHandler(new AuctionHandler), mBankHandler(new BankHandler), @@ -115,6 +114,7 @@ GeneralHandler::GeneralHandler() : mFamilyHandler(new FamilyHandler), mFriendsHandler(new FriendsHandler), mHomunculusHandler(new HomunculusHandler), + mMailHandler(new MailHandler), #endif mMercenaryHandler(new MercenaryHandler), mMarketHandler(new MarketHandler), @@ -235,7 +235,6 @@ void GeneralHandler::load() mNetwork->registerHandler(mPartyHandler); mNetwork->registerHandler(mPetHandler); mNetwork->registerHandler(mQuestHandler); - mNetwork->registerHandler(mMailHandler); #ifdef EATHENA_SUPPORT mNetwork->registerHandler(mAuctionHandler); mNetwork->registerHandler(mBankHandler); @@ -245,6 +244,7 @@ void GeneralHandler::load() mNetwork->registerHandler(mFamilyHandler); mNetwork->registerHandler(mFriendsHandler); mNetwork->registerHandler(mHomunculusHandler); + mNetwork->registerHandler(mMailHandler); #endif mNetwork->registerHandler(mMercenaryHandler); mNetwork->registerHandler(mMarketHandler); |