aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--protocols/jabber/conference.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/protocols/jabber/conference.c b/protocols/jabber/conference.c
index 0d0e3318..bb3fbcf3 100644
--- a/protocols/jabber/conference.c
+++ b/protocols/jabber/conference.c
@@ -104,7 +104,7 @@ struct groupchat *jabber_chat_by_jid( struct im_connection *ic, const char *name
}
g_free( normalized );
- return l && ret;
+ return l ? ret : NULL;
}
void jabber_chat_free( struct groupchat *c )