summaryrefslogtreecommitdiff
path: root/src/net/eathena/adminhandler.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
commit5f4951d34c52e92ddd38606b140e8dcded25448c (patch)
tree560bd34ab871b4c903d44f98832ee4680c091e46 /src/net/eathena/adminhandler.cpp
parenta5ce1a9872c4c34af4d4336e3fd512036511c659 (diff)
downloadplus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.gz
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.bz2
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.xz
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.zip
Add chat command /breakguild. Also add it to player context menu.
Diffstat (limited to 'src/net/eathena/adminhandler.cpp')
-rw-r--r--src/net/eathena/adminhandler.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index 29e346af8..d02a26479 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -357,4 +357,9 @@ void AdminHandler::partyRecall(const std::string &name) const
Gm::runCommand("partyrecall", name);
}
+void AdminHandler::breakGuild(const std::string &name) const
+{
+ Gm::runCharCommand("breakguild", name);
+}
+
} // namespace EAthena