diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-03-01 14:27:18 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-03-01 14:27:18 +0300 |
commit | 5f4951d34c52e92ddd38606b140e8dcded25448c (patch) | |
tree | 560bd34ab871b4c903d44f98832ee4680c091e46 /src/actions | |
parent | a5ce1a9872c4c34af4d4336e3fd512036511c659 (diff) | |
download | manaverse-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.gz manaverse-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.bz2 manaverse-5f4951d34c52e92ddd38606b140e8dcded25448c.tar.xz manaverse-5f4951d34c52e92ddd38606b140e8dcded25448c.zip |
Add chat command /breakguild. Also add it to player context menu.
Diffstat (limited to 'src/actions')
-rw-r--r-- | src/actions/commands.cpp | 6 | ||||
-rw-r--r-- | src/actions/commands.h | 1 |
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 |