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 17108428..0d0e3318 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 ret;
+ return l && ret;
}
void jabber_chat_free( struct groupchat *c )