summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index c238731a5..1ca5ac5c0 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -51,6 +51,7 @@ Net::TradeHandler *tradeHandler = nullptr;
Net::BeingHandler *beingHandler = nullptr;
Net::BuySellHandler *buySellHandler = nullptr;
Net::ServerFeatures *serverFeatures = nullptr;
+Net::MailHandler *mailHandler = nullptr;
Net::AdminHandler *Net::getAdminHandler()
{
@@ -137,6 +138,11 @@ Net::ServerFeatures *Net::getServerFeatures()
return serverFeatures;
}
+Net::MailHandler *Net::getMailHandler()
+{
+ return mailHandler;
+}
+
namespace Net
{
ServerInfo::Type networkType = ServerInfo::UNKNOWN;