summaryrefslogtreecommitdiff
path: root/src/net
diff options
context:
space:
mode:
Diffstat (limited to 'src/net')
-rw-r--r--src/net/bankhandler.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/bankhandler.h b/src/net/bankhandler.h
index 5db6b9680..10000fc11 100644
--- a/src/net/bankhandler.h
+++ b/src/net/bankhandler.h
@@ -43,4 +43,6 @@ class BankHandler notfinal
} // namespace Net
+extern Net::BankHandler *bankHandler;
+
#endif // NET_BANKHANDLER_H
diff --git a/src/net/net.cpp b/src/net/net.cpp
index bfb56870d..978300b3b 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -40,6 +40,7 @@ namespace Net
{
class AdminHandler;
class AuctionHandler;
+ class BankHandler;
}
Net::AdminHandler *adminHandler = nullptr;
@@ -160,11 +161,6 @@ Net::FamilyHandler *Net::getFamilyHandler()
return familyHandler;
}
-Net::BankHandler *Net::getBankHandler()
-{
- return bankHandler;
-}
-
namespace Net
{
diff --git a/src/net/net.h b/src/net/net.h
index cbadf71cd..d90008027 100644
--- a/src/net/net.h
+++ b/src/net/net.h
@@ -36,7 +36,6 @@
namespace Net
{
-class BankHandler;
class BeingHandler;
class CashShopHandler;
class CharServerHandler;
@@ -76,7 +75,6 @@ ServerFeatures *getServerFeatures() A_WARN_UNUSED;
MailHandler *getMailHandler() A_WARN_UNUSED;
CashShopHandler *getCashShopHandler() A_WARN_UNUSED;
FamilyHandler *getFamilyHandler() A_WARN_UNUSED;
-BankHandler *getBankHandler() A_WARN_UNUSED;
ServerInfo::Type getNetworkType() A_WARN_UNUSED;