# HG changeset patch # User Sean Egan # Date 1016327832 0 # Node ID 3b1dc99ef79ef2db4561d1f54810b71198f61e0f # Parent 0f8c9cecf75bc7b11dddc99a34c40e92a818fcd8 [gaim-migrate @ 3080] bugfix committer: Tailor Script diff -r 0f8c9cecf75b -r 3b1dc99ef79e src/multi.c --- a/src/multi.c Sat Mar 16 22:39:49 2002 +0000 +++ b/src/multi.c Sun Mar 17 01:17:12 2002 +0000 @@ -895,10 +895,12 @@ GList *l = GTK_CLIST(list)->selection; int row = -1; struct aim_user *u; + struct prpl *p = find_prpl(u->protocol); while (l) { row = (int)l->data; u = g_slist_nth_data(aim_users, row); - if (!u->gc) { + serv_login(u); + if (!u->gc && p && p->login) { struct prpl *p = find_prpl(u->protocol); if (p && !(p->options & OPT_PROTO_NO_PASSWORD) && !u->password[0]) { do_pass_dlg(u); @@ -907,9 +909,8 @@ set_user_state(signing_on); #endif /* USE_APPLET */ gtk_clist_set_text(GTK_CLIST(list), row, 1, "Attempting"); - serv_login(u); } - } else { + } else if (u->gc) { u->gc->wants_to_die = TRUE; signoff(u->gc); }