Mercurial > pidgin
changeset 3066:3b1dc99ef79e
[gaim-migrate @ 3080]
bugfix
committer: Tailor Script <tailor@pidgin.im>
author | Sean Egan <seanegan@gmail.com> |
---|---|
date | Sun, 17 Mar 2002 01:17:12 +0000 |
parents | 0f8c9cecf75b |
children | b695cbbeee2d |
files | src/multi.c |
diffstat | 1 files changed, 4 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- 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); }