summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/net/ea/adminhandler.cpp')
-rw-r--r--src/net/ea/adminhandler.cpp16
1 files changed, 13 insertions, 3 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index 04c946c0..c84cdea3 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -40,7 +40,11 @@
#include <string>
-AdminHandler *adminHandler;
+extern Net::ChatHandler *chatHandler;
+
+Net::AdminHandler *adminHandler;
+
+namespace EAthena {
AdminHandler::AdminHandler()
{
@@ -99,7 +103,9 @@ void AdminHandler::kick(const std::string &name)
}
void AdminHandler::ban(int playerId)
-{}
+{
+ // Not supported
+}
void AdminHandler::ban(const std::string &name)
{
@@ -107,7 +113,9 @@ void AdminHandler::ban(const std::string &name)
}
void AdminHandler::unban(int playerId)
-{}
+{
+ // Not supported
+}
void AdminHandler::unban(const std::string &name)
{
@@ -123,3 +131,5 @@ void AdminHandler::mute(int playerId, int type, int limit)
outMsg.writeInt8(type);
outMsg.writeInt16(limit);
}
+
+} // namespace EAthena