From 5f4951d34c52e92ddd38606b140e8dcded25448c Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 1 Mar 2016 14:27:18 +0300 Subject: Add chat command /breakguild. Also add it to player context menu. --- src/actions/commands.cpp | 6 ++++++ src/actions/commands.h | 1 + 2 files changed, 7 insertions(+) (limited to 'src/actions') 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 -- cgit v1.2.3-70-g09d2