summaryrefslogtreecommitdiff
path: root/src/net/net.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2014-09-16 23:56:49 +0300
committerAndrei Karas <akaras@inbox.ru>2014-09-17 00:02:02 +0300
commit9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8 (patch)
treea1116647b9e40fe8a7f710e09434301da137a785 /src/net/net.cpp
parentf5c479fa193fb4199872aabcb73d35f872caa87f (diff)
downloadmanaverse-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.gz
manaverse-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.bz2
manaverse-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.tar.xz
manaverse-9b25edfe24395fdee2ad06c85a0f9c0a6117aaa8.zip
Remove getter for adminHandler.
Diffstat (limited to 'src/net/net.cpp')
-rw-r--r--src/net/net.cpp10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/net/net.cpp b/src/net/net.cpp
index 6a0ac33a3..520c794db 100644
--- a/src/net/net.cpp
+++ b/src/net/net.cpp
@@ -36,6 +36,11 @@
#include "debug.h"
+namespace Net
+{
+ class AdminHandler;
+}
+
Net::AdminHandler *adminHandler = nullptr;
Net::CharServerHandler *charServerHandler = nullptr;
Net::ChatHandler *chatHandler = nullptr;
@@ -59,11 +64,6 @@ Net::CashShopHandler *cashShopHandler = nullptr;
Net::FamilyHandler *familyHandler = nullptr;
Net::BankHandler *bankHandler = nullptr;
-Net::AdminHandler *Net::getAdminHandler()
-{
- return adminHandler;
-}
-
Net::CharServerHandler *Net::getCharServerHandler()
{
return charServerHandler;