diff options
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 9 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
2 files changed, 10 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 diff --git a/src/actions/commands.h b/src/actions/commands.h index efc436c97..76b20effd 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -135,6 +135,7 @@ namespace Actions decHandler(commandNpcHide); decHandler(commandNpcShow); decHandler(commandChangePartyLeader); + decHandler(commandPartyRecall); } // namespace Actions #undef decHandler |