# HG changeset patch # User Eric Warmenhoven # Date 974084363 0 # Node ID 79cdc86ef4c6a6d2143734c7f92d537e599bd2e7 # Parent f0f5c10cce63668a6a215d146ca53a6ef5503f22 [gaim-migrate @ 1100] necessary checks committer: Tailor Script diff -r f0f5c10cce63 -r 79cdc86ef4c6 plugins/irc.c --- a/plugins/irc.c Mon Nov 13 02:58:00 2000 +0000 +++ b/plugins/irc.c Mon Nov 13 02:59:23 2000 +0000 @@ -830,6 +830,8 @@ while (gtk_events_pending()) gtk_main_iteration(); + if (!g_slist_find(connections, gc)) + return; host = gethostbyname(user->proto_opt[0]); if (!host) { diff -r f0f5c10cce63 -r 79cdc86ef4c6 plugins/yay/yay.c --- 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);