plugins/yay/yay.c

changeset 1090
a51b079ac81c
parent 1089
74f5c108f7a3
child 1096
7020a4fc34a3
--- 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);
 

mercurial