diff plugins/yay/yay.c @ 1090:79cdc86ef4c6

[gaim-migrate @ 1100] necessary checks committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Mon, 13 Nov 2000 02:59:23 +0000
parents f0f5c10cce63
children c1dcba9f3a3a
line wrap: on
line diff
--- a/plugins/yay/yay.c	Mon Nov 13 02:58:00 2000 +0000
+++ b/plugins/yay/yay.c	Mon Nov 13 02:59:23 2000 +0000
@@ -210,6 +210,8 @@
 	set_login_progress(gc, 1, "Connecting");
 	while (gtk_events_pending())
 		gtk_main_iteration();
+	if (!g_slist_find(connections, gc))
+		return;
 
 	if (!ctxt || !yahoo_connect(ctxt)) {
 		debug_printf("Yahoo: Unable to connect\n");
@@ -223,6 +225,8 @@
 	set_login_progress(gc, 3, "Getting Config");
 	while (gtk_events_pending())
 		gtk_main_iteration();
+	if (!g_slist_find(connections, gc))
+		return;
 
 	yahoo_get_config(ctxt);