From e68565706f0c2ea710e7ea83cd5a69e538eb061c Mon Sep 17 00:00:00 2001 From: Wilmer van der Gaast Date: Sat, 8 May 2010 15:58:32 +0100 Subject: Fixed buggy jabber_chat_by_jid() after GSList change. --- protocols/jabber/conference.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'protocols') 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 ) -- cgit v1.2.3