changeset 2585:4424c670021d

[gaim-migrate @ 2598] fine. whatever. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 23 Oct 2001 08:15:00 +0000
parents 34812d648f72
children 0f5390176949
files src/prpl.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/prpl.c	Tue Oct 23 08:06:09 2001 +0000
+++ b/src/prpl.c	Tue Oct 23 08:15:00 2001 +0000
@@ -546,7 +546,8 @@
 
 static void do_add(gpointer x, struct got_add *ga)
 {
-	show_add_buddy(ga->gc, ga->who, NULL, ga->alias);
+	if (g_slist_find(connections, ga->gc))
+		show_add_buddy(ga->gc, ga->who, NULL, ga->alias);
 }
 
 void show_got_added(struct gaim_connection *gc, const char *id,