summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-29 01:55:41 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-29 01:55:41 +0300
commit9956ff63ccfaee02ed68d0125007b90849cc1ee5 (patch)
tree0cf8ee36f9cd39471590234de1adde3d0edeaf27 /src/actions/commands.cpp
parent60100c4b30f779fe8f63758f9974891e98816340 (diff)
downloadplus-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/actions/commands.cpp')
-rw-r--r--src/actions/commands.cpp9
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