summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-10 16:04:21 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-10 16:04:21 +0300
commit24e4e3c241f39c088bd6f9eb471a2c0285c4eebf (patch)
tree793f59481dfd77af416bc003dac5f15f084ef227 /src/net/net.cpp
parent648b7bf6803ecb250fd095f60ed52c0ac75d0201 (diff)
downloadmv-24e4e3c241f39c088bd6f9eb471a2c0285c4eebf.tar.gz
mv-24e4e3c241f39c088bd6f9eb471a2c0285c4eebf.tar.bz2
mv-24e4e3c241f39c088bd6f9eb471a2c0285c4eebf.tar.xz
mv-24e4e3c241f39c088bd6f9eb471a2c0285c4eebf.zip
Add mailhandler for now empty.
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;