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/actions/commands.cpp | |
parent | 60100c4b30f779fe8f63758f9974891e98816340 (diff) | |
download | manaplus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.gz manaplus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.bz2 manaplus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.tar.xz manaplus-9956ff63ccfaee02ed68d0125007b90849cc1ee5.zip |
Add chat command /partyrecall. Also add it to npc context menu.
Diffstat (limited to 'src/actions/commands.cpp')
-rw-r--r-- | src/actions/commands.cpp | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index bbde5c4a8..afc1c6d80 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1518,4 +1518,13 @@ impHandler(commandChangePartyLeader) return true; } +impHandler(commandPartyRecall) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->partyRecall(args); + return true; +} + } // namespace Actions |