From c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Mar 2016 15:40:45 +0300 Subject: Add chat command /guildrecall. Also add it to player context menu. --- src/actions/commands.cpp | 9 +++++++++ src/actions/commands.h | 1 + 2 files changed, 10 insertions(+) (limited to 'src/actions') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index a163ad5ab..9e70c55de 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -1533,4 +1533,13 @@ impHandler(commandBreakGuild) return true; } +impHandler(commandGuildRecall) +{ + const std::string args = event.args; + if (args.empty()) + return false; + adminHandler->guildRecall(args); + return true; +} + } // namespace Actions diff --git a/src/actions/commands.h b/src/actions/commands.h index e314226cb..41db1e042 100644 --- a/src/actions/commands.h +++ b/src/actions/commands.h @@ -137,6 +137,7 @@ namespace Actions decHandler(commandChangePartyLeader); decHandler(commandPartyRecall); decHandler(commandBreakGuild); + decHandler(commandGuildRecall); } // namespace Actions #undef decHandler -- cgit v1.2.3-60-g2f50