summaryrefslogtreecommitdiff
path: root/src/net/ea/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2013-07-11 21:05:05 +0300
committerAndrei Karas <akaras@inbox.ru>2013-07-11 21:05:05 +0300
commitd0c97c8a12b0904c00a492acd129aebffd7816c8 (patch)
tree8c863fd894b3eb5453db40db3a9780edc932ed08 /src/net/ea/adminhandler.cpp
parente36c735ce6569cd9c0e668632e59bcbe3280d507 (diff)
downloadmanaverse-d0c97c8a12b0904c00a492acd129aebffd7816c8.tar.gz
manaverse-d0c97c8a12b0904c00a492acd129aebffd7816c8.tar.bz2
manaverse-d0c97c8a12b0904c00a492acd129aebffd7816c8.tar.xz
manaverse-d0c97c8a12b0904c00a492acd129aebffd7816c8.zip
Remove low level gm actions from popup to net code.
Diffstat (limited to 'src/net/ea/adminhandler.cpp')
-rw-r--r--src/net/ea/adminhandler.cpp20
1 files changed, 20 insertions, 0 deletions
diff --git a/src/net/ea/adminhandler.cpp b/src/net/ea/adminhandler.cpp
index 9e1956edd..5e1c188a0 100644
--- a/src/net/ea/adminhandler.cpp
+++ b/src/net/ea/adminhandler.cpp
@@ -72,6 +72,26 @@ void AdminHandler::warp(const std::string &map, const int x, const int y) const
"@warp %s %d %d", map.c_str(), x, y), GENERAL_CHANNEL);
}
+void AdminHandler::gotoName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@goto " + name, GENERAL_CHANNEL);
+}
+
+void AdminHandler::recallName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@recall " + name, GENERAL_CHANNEL);
+}
+
+void AdminHandler::reviveName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@revive " + name, GENERAL_CHANNEL);
+}
+
+void AdminHandler::ipcheckName(const std::string &name) const
+{
+ Net::getChatHandler()->talk("@ipcheck " + name, GENERAL_CHANNEL);
+}
+
void AdminHandler::createItems(const int id, const int color, const int amount)
{
if (serverVersion < 1)