Sun, 05 Nov 2006 23:22:41 +0000
[gaim-migrate @ 17674]
Only clear out the password when the server tells us it is incorrect if
the user is not saving passwords for this account
| libgaim/protocols/oscar/oscar.c | file | annotate | diff | comparison | revisions |
--- a/libgaim/protocols/oscar/oscar.c Sun Nov 05 17:37:09 2006 +0000 +++ b/libgaim/protocols/oscar/oscar.c Sun Nov 05 23:22:41 2006 +0000 @@ -1284,7 +1284,8 @@ case 0x05: /* Incorrect password */ gc->wants_to_die = TRUE; - gaim_account_set_password(account, NULL); + if (!gaim_account_get_remember_password(account)) + gaim_account_set_password(account, NULL); gaim_connection_error(gc, _("Incorrect password.")); break; case 0x11: