summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-17 00:25:37 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:25:37 +0300
commit0c821c1e711b7cd1e16089a04e866f5869782975 (patch)
tree6d3da4bce6a9f5fa962c8835f820c538057659f3
parent2ff6ba08013b00b8685e4c8f1f53d7f0ead172a7 (diff)
downloadmanaverse-0c821c1e711b7cd1e16089a04e866f5869782975.tar.gz
manaverse-0c821c1e711b7cd1e16089a04e866f5869782975.tar.bz2
manaverse-0c821c1e711b7cd1e16089a04e866f5869782975.tar.xz
manaverse-0c821c1e711b7cd1e16089a04e866f5869782975.zip
Remove getter for bankHandler.
-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;