From 338fdcc49fbe3254946cbc37478cedd0f160d312 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 13 Dec 2014 22:24:05 +0300 Subject: Fix /party chat command. --- src/actions/chat.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src') diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp index 374a586fb..3fc8b9728 100644 --- a/src/actions/chat.cpp +++ b/src/actions/chat.cpp @@ -342,18 +342,18 @@ impHandler(createGuild) impHandler(party) { - if (!event.tab) - return false; - if (!event.args.empty()) { partyHandler->invite(event.args); } else { - // TRANSLATORS: party invite message - event.tab->chatLog(_("Please specify a name."), - ChatMsgType::BY_SERVER); + if (event.tab) + { + // TRANSLATORS: party invite message + event.tab->chatLog(_("Please specify a name."), + ChatMsgType::BY_SERVER); + } } return true; } -- cgit v1.2.3-70-g09d2