diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-01 15:40:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-01 15:40:45 +0300 |
commit | c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158 (patch) | |
tree | d5e06d87250dd4be2a70b672eaea7145396d5dc5 /src/net/eathena | |
parent | 5f4951d34c52e92ddd38606b140e8dcded25448c (diff) | |
download | plus-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.cpp | 5 | ||||
-rw-r--r-- | src/net/eathena/adminhandler.h | 2 |
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; }; |