summaryrefslogtreecommitdiff
path: root/src/actions/commands.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-01 15:40:45 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-01 15:40:45 +0300
commitc9a0a01ffff11b23c517cc2d0c6a08a83c7a8158 (patch)
treed5e06d87250dd4be2a70b672eaea7145396d5dc5 /src/actions/commands.cpp
parent5f4951d34c52e92ddd38606b140e8dcded25448c (diff)
downloadmanaverse-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.gz
manaverse-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.bz2
manaverse-c9a0a01ffff11b23c517cc2d0c6a08a83c7a8158.tar.xz
manaverse-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.cpp9
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