summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-02-28 21:19:19 +0300
committerAndrei Karas <akaras@inbox.ru>2015-02-28 21:19:19 +0300
commitb3fb42d3225282bc146847488a74536953a2d726 (patch)
tree8646eb17fc496ced06805a4878f911be11e4ba5e /src/net/net.cpp
parentb96242e1d5a6af71e6f884596f77268743945c63 (diff)
downloadmv-b3fb42d3225282bc146847488a74536953a2d726.tar.gz
mv-b3fb42d3225282bc146847488a74536953a2d726.tar.bz2
mv-b3fb42d3225282bc146847488a74536953a2d726.tar.xz
mv-b3fb42d3225282bc146847488a74536953a2d726.zip
Build mailhandler only if eathena enabled.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 5a6156653..9c6d7df07 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -49,6 +49,7 @@ namespace Net
class FamilyHandler;
class FriendsHandler;
class HomunculusHandler;
+ class MailHandler;
#endif
class AdminHandler;
class BeingHandler;
@@ -59,7 +60,6 @@ namespace Net
class GeneralHandler;
class GuildHandler;
class InventoryHandler;
- class MailHandler;
class MarketHandler;
class MercenaryHandler;
class NpcHandler;
@@ -91,7 +91,6 @@ Net::TradeHandler *tradeHandler = nullptr;
Net::BeingHandler *beingHandler = nullptr;
Net::BuySellHandler *buySellHandler = nullptr;
Net::ServerFeatures *serverFeatures = nullptr;
-Net::MailHandler *mailHandler = nullptr;
Net::MercenaryHandler *mercenaryHandler = nullptr;
#ifdef EATHENA_SUPPORT
Net::AuctionHandler *auctionHandler = nullptr;
@@ -102,6 +101,7 @@ Net::ElementalHandler *elementalHandler = nullptr;
Net::FamilyHandler *familyHandler = nullptr;
Net::FriendsHandler *friendsHandler = nullptr;
Net::HomunculusHandler *homunculusHandler = nullptr;
+Net::MailHandler *mailHandler = nullptr;
#endif
Net::QuestHandler *questHandler = nullptr;
Net::MarketHandler *marketHandler = nullptr;