diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-29 01:55:41 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-29 01:55:41 +0300 |
commit | 9956ff63ccfaee02ed68d0125007b90849cc1ee5 (patch) | |
tree | 0cf8ee36f9cd39471590234de1adde3d0edeaf27 /src/net/eathena | |
parent | 60100c4b30f779fe8f63758f9974891e98816340 (diff) | |
download | plus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.gz plus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.bz2 plus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.xz plus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.zip |
Add chat command /partyrecall. Also add it to npc 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 07b99347e..29e346af8 100644 --- a/src/net/eathena/adminhandler.cpp +++ b/src/net/eathena/adminhandler.cpp @@ -352,4 +352,9 @@ void AdminHandler::changePartyLeader(const std::string &name) const Gm::runCommand("changeleader", name); } +void AdminHandler::partyRecall(const std::string &name) const +{ + Gm::runCommand("partyrecall", name); +} + } // namespace EAthena diff --git a/src/net/eathena/adminhandler.h b/src/net/eathena/adminhandler.h index 756f60187..c34e6d049 100644 --- a/src/net/eathena/adminhandler.h +++ b/src/net/eathena/adminhandler.h @@ -148,6 +148,8 @@ class AdminHandler final : public Ea::AdminHandler void changePartyLeader(const std::string &name) const override final; + void partyRecall(const std::string &name) const override final; + protected: static std::string mStatsName; }; |