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 63a348bde..c238731a5 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -50,6 +50,7 @@ Net::SkillHandler *skillHandler = nullptr;
Net::TradeHandler *tradeHandler = nullptr;
Net::BeingHandler *beingHandler = nullptr;
Net::BuySellHandler *buySellHandler = nullptr;
+Net::ServerFeatures *serverFeatures = nullptr;
Net::AdminHandler *Net::getAdminHandler()
{
@@ -131,6 +132,11 @@ Net::BuySellHandler *Net::getBuySellHandler()
return buySellHandler;
}
+Net::ServerFeatures *Net::getServerFeatures()
+{
+ return serverFeatures;
+}
+
namespace Net
{
ServerInfo::Type networkType = ServerInfo::UNKNOWN;