summaryrefslogtreecommitdiff
path: root/src/net/eathena
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-01 15:40:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-01 15:40:45 +0300
commitc9a0a01ffff11b23c517cc2d0c6a08a83c7a8158 (patch)
treed5e06d87250dd4be2a70b672eaea7145396d5dc5 /src/net/eathena
parent5f4951d34c52e92ddd38606b140e8dcded25448c (diff)
downloadplus-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.gz
plus-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.bz2
plus-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.xz
plus-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.zip
Add chat command /guildrecall. Also add it to player context menu.
Diffstat (limited to 'src/net/eathena')
-rw-r--r--src/net/eathena/adminhandler.cpp5
-rw-r--r--src/net/eathena/adminhandler.h2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/net/eathena/adminhandler.cpp b/src/net/eathena/adminhandler.cpp
index d02a26479..0084c6e98 100644
--- a/src/net/eathena/adminhandler.cpp
+++ b/src/net/eathena/adminhandler.cpp
@@ -362,4 +362,9 @@ void AdminHandler::breakGuild(const std::string &name) const
Gm::runCharCommand("breakguild", name);
}
+void AdminHandler::guildRecall(const std::string &name) const
+{
+ Gm::runCommand("guildrecall", name);
+}
+
} // namespace EAthena
diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h
index d5f937307..542fab695 100644
--- a/src/net/eathena/adminhandler.h
+++ b/src/net/eathena/adminhandler.h
@@ -152,6 +152,8 @@ class AdminHandler final : public Ea::AdminHandler
void breakGuild(const std::string &name) const override final;
+ void guildRecall(const std::string &name) const override final;
+
protected:
static std::string mStatsName;
};