summaryrefslogtreecommitdiff
path: root/src/actions
diff options
context:
space:
mode:
Diffstat (limited to 'src/actions')
-rw-r--r--src/actions/chat.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/src/actions/chat.cpp b/src/actions/chat.cpp
index 3bf231d7c..a3fcef632 100644
--- a/src/actions/chat.cpp
+++ b/src/actions/chat.cpp
@@ -333,7 +333,7 @@ impHandler0(clearChatTab)
impHandler(createParty)
{
- if (!event.tab || !partyHandler)
+ if (!partyHandler)
return false;
if (event.args.empty())
@@ -353,7 +353,6 @@ impHandler(createParty)
impHandler(createGuild)
{
if (!guildHandler ||
- !event.tab ||
!serverFeatures ||
!serverFeatures->haveNativeGuilds())
{