diff options
author | Andrei Karas <akaras@inbox.ru> | 2014-12-13 22:24:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2014-12-13 22:24:05 +0300 |
commit | 338fdcc49fbe3254946cbc37478cedd0f160d312 (patch) | |
tree | d01ae27265397e740e07abd26570eb37ca9e8c15 | |
parent | d27b32b8754f8ba2e153e63c8978fcf4bd744faa (diff) | |
download | plus-338fdcc49fbe3254946cbc37478cedd0f160d312.tar.gz plus-338fdcc49fbe3254946cbc37478cedd0f160d312.tar.bz2 plus-338fdcc49fbe3254946cbc37478cedd0f160d312.tar.xz plus-338fdcc49fbe3254946cbc37478cedd0f160d312.zip |
Fix /party chat command.
-rw-r--r-- | src/actions/chat.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; } |