summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/buysellhandler.h2
-rw-r--r--src/net/net.cpp6
-rw-r--r--src/net/net.h2
3 files changed, 3 insertions, 7 deletions
diff --git a/src/net/buysellhandler.h b/src/net/buysellhandler.h
index fde6cf835..10eb8a35b 100644
--- a/src/net/buysellhandler.h
+++ b/src/net/buysellhandler.h
@@ -53,4 +53,6 @@ class BuySellHandler notfinal
} // namespace Net
+extern Net::BuySellHandler *buySellHandler;
+
#endif // NET_BUYSELLHANDLER_H
diff --git a/src/net/net.cpp b/src/net/net.cpp
index f6a3413e7..820066570 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -42,6 +42,7 @@ namespace Net
class AuctionHandler;
class BankHandler;
class BeingHandler;
+ class BuySellHandler;
}
Net::AdminHandler *adminHandler = nullptr;
@@ -132,11 +133,6 @@ Net::TradeHandler *Net::getTradeHandler()
return tradeHandler;
}
-Net::BuySellHandler *Net::getBuySellHandler()
-{
- return buySellHandler;
-}
-
Net::ServerFeatures *Net::getServerFeatures()
{
return serverFeatures;
diff --git a/src/net/net.h b/src/net/net.h
index be6a2647b..baf4c757d 100644
--- a/src/net/net.h
+++ b/src/net/net.h
@@ -52,7 +52,6 @@ class PetHandler;
class PlayerHandler;
class SkillHandler;
class TradeHandler;
-class BuySellHandler;
class ServerFeatures;
CharServerHandler *getCharServerHandler() A_WARN_UNUSED;
@@ -68,7 +67,6 @@ PetHandler *getPetHandler() A_WARN_UNUSED;
PlayerHandler *getPlayerHandler() A_WARN_UNUSED;
SkillHandler *getSkillHandler() A_WARN_UNUSED;
TradeHandler *getTradeHandler() A_WARN_UNUSED;
-BuySellHandler *getBuySellHandler() A_WARN_UNUSED;
ServerFeatures *getServerFeatures() A_WARN_UNUSED;
MailHandler *getMailHandler() A_WARN_UNUSED;
CashShopHandler *getCashShopHandler() A_WARN_UNUSED;