diff options
author | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
---|---|---|
committer | Jared Adams <jaxad0127@gmail.com> | 2009-04-05 21:50:02 -0600 |
commit | bcc4695387d21f9629ab6f013aadbfe0d238aa6d (patch) | |
tree | 2e095ec94e99e788eb851a37cdf5eae68270424c /src/net/ea/adminhandler.cpp | |
parent | 9078373860729cdf80db8d09cbdee478dc54ec64 (diff) | |
download | mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.gz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.bz2 mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.tar.xz mana-bcc4695387d21f9629ab6f013aadbfe0d238aa6d.zip |
Implement TMWServ's Admin-, Chat-, and MapHandlers
Diffstat (limited to 'src/net/ea/adminhandler.cpp')
-rw-r--r-- | src/net/ea/adminhandler.cpp | 16 |
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 |