summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
committerAndrei Karas <akaras@inbox.ru>2016-03-01 14:27:18 +0300
commit5f4951d34c52e92ddd38606b140e8dcded25448c (patch)
tree560bd34ab871b4c903d44f98832ee4680c091e46 /src/actions
parenta5ce1a9872c4c34af4d4336e3fd512036511c659 (diff)
downloadplus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.gz
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.bz2
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.xz
plus-5f4951d34c52e92ddd38606b140e8dcded25448c.zip
Add chat command /breakguild. Also add it to player context menu.
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/commands.cpp6
-rw-r--r--src/actions/commands.h1
2 files changed, 7 insertions, 0 deletions
diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp
index afc1c6d80..a163ad5ab 100644
--- a/src/actions/commands.cpp
+++ b/src/actions/commands.cpp
@@ -1527,4 +1527,10 @@ impHandler(commandPartyRecall)
return true;
}
+impHandler(commandBreakGuild)
+{
+ adminHandler->breakGuild(event.args);
+ return true;
+}
+
} // namespace Actions
diff --git a/src/actions/commands.h b/src/actions/commands.h
index 76b20effd..e314226cb 100644
--- a/src/actions/commands.h
+++ b/src/actions/commands.h
@@ -136,6 +136,7 @@ namespace Actions
decHandler(commandNpcShow);
decHandler(commandChangePartyLeader);
decHandler(commandPartyRecall);
+ decHandler(commandBreakGuild);
} // namespace Actions
#undef decHandler