# HG changeset patch # User Mark Doliner # Date 1162768961 0 # Node ID d71a0d29ff7e7360e8a92fca9baeafcd8c1e2c4b # Parent d9d28bd7971557e4db954989fea4bd83767ad478 [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 committer: Tailor Script diff -r d9d28bd79715 -r d71a0d29ff7e libgaim/protocols/oscar/oscar.c --- 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: