diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-01 15:40:45 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-01 15:40:45 +0300 |
commit | c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158 (patch) | |
tree | d5e06d87250dd4be2a70b672eaea7145396d5dc5 /src/actions/commands.cpp | |
parent | 5f4951d34c52e92ddd38606b140e8dcded25448c (diff) | |
download | mv-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.gz mv-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.bz2 mv-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.xz mv-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.zip |
Add chat command /guildrecall. Also add it to player 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 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 |