diff src/protocols/jabber/roster.c @ 8120:81a63a9bff88

[gaim-migrate @ 8824] tweaks just seem to accumulate in my tree committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Fri, 16 Jan 2004 01:03:54 +0000
parents 119a22025818
children 8f4ce853e685
line wrap: on
line diff
--- a/src/protocols/jabber/roster.c	Thu Jan 15 23:35:43 2004 +0000
+++ b/src/protocols/jabber/roster.c	Fri Jan 16 01:03:54 2004 +0000
@@ -225,7 +225,8 @@
 		}
 	}
 
-	b = gaim_find_buddy(js->gc->account, name);
+	if(!(b = gaim_find_buddy(js->gc->account, name)))
+		return;
 
 	iq = jabber_iq_new_query(js, JABBER_IQ_SET, "jabber:iq:roster");