diff options
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/auctionhandler.h | 2 | ||||
-rw-r--r-- | src/net/net.cpp | 6 | ||||
-rw-r--r-- | src/net/net.h | 2 |
3 files changed, 3 insertions, 7 deletions
diff --git a/src/net/auctionhandler.h b/src/net/auctionhandler.h index 24dc9a364..1432381d2 100644 --- a/src/net/auctionhandler.h +++ b/src/net/auctionhandler.h @@ -37,4 +37,6 @@ class AuctionHandler notfinal } // namespace Net +extern Net::AuctionHandler *auctionHandler; + #endif // NET_AUCTIONHANDLER_H diff --git a/src/net/net.cpp b/src/net/net.cpp index 520c794db..bfb56870d 100644 --- a/src/net/net.cpp +++ b/src/net/net.cpp @@ -39,6 +39,7 @@ namespace Net { class AdminHandler; + class AuctionHandler; } Net::AdminHandler *adminHandler = nullptr; @@ -149,11 +150,6 @@ Net::MailHandler *Net::getMailHandler() return mailHandler; } -Net::AuctionHandler *Net::getAuctionHandler() -{ - return auctionHandler; -} - Net::CashShopHandler *Net::getCashShopHandler() { return cashShopHandler; diff --git a/src/net/net.h b/src/net/net.h index 4581e9946..cbadf71cd 100644 --- a/src/net/net.h +++ b/src/net/net.h @@ -36,7 +36,6 @@ namespace Net { -class AuctionHandler; class BankHandler; class BeingHandler; class CashShopHandler; @@ -75,7 +74,6 @@ TradeHandler *getTradeHandler() A_WARN_UNUSED; BuySellHandler *getBuySellHandler() A_WARN_UNUSED; ServerFeatures *getServerFeatures() A_WARN_UNUSED; MailHandler *getMailHandler() A_WARN_UNUSED; -AuctionHandler *getAuctionHandler() A_WARN_UNUSED; CashShopHandler *getCashShopHandler() A_WARN_UNUSED; FamilyHandler *getFamilyHandler() A_WARN_UNUSED; BankHandler *getBankHandler() A_WARN_UNUSED; |