From 4e736ecaea7ec5bdaaa0ef9bb91373be8a2d1e2b Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 14 Dec 2014 21:54:35 +0300 Subject: Add chat command for leave party. New chat command: /leaveparty Alias: /partyleave --- src/actions/commands.cpp | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'src/actions/commands.cpp') diff --git a/src/actions/commands.cpp b/src/actions/commands.cpp index dd93da0e8..07cd0c64e 100644 --- a/src/actions/commands.cpp +++ b/src/actions/commands.cpp @@ -46,6 +46,7 @@ #include "net/chathandler.h" #include "net/guildhandler.h" #include "net/homunculushandler.h" +#include "net/partyhandler.h" #include "net/pethandler.h" #include "net/serverfeatures.h" @@ -814,4 +815,10 @@ impHandler0(fireHomunculus) return true; } +impHandler0(leaveParty) +{ + partyHandler->leave(); + return true; +} + } // namespace Actions -- cgit v1.2.3-70-g09d2