# HG changeset patch # User Ka-Hing Cheung # Date 1185426120 0 # Node ID 648545b2c1f19dc3d4ad00442813cc2fb3124e65 # Parent 24e3cca6b03c146d299ef35212953f234bcf6855 make us forget the password if the user didn't choose save password and the password is incorrect. copied from oscar diff -r 24e3cca6b03c -r 648545b2c1f1 libpurple/protocols/yahoo/yahoo.c --- a/libpurple/protocols/yahoo/yahoo.c Wed Jul 25 21:42:15 2007 +0000 +++ b/libpurple/protocols/yahoo/yahoo.c Thu Jul 26 05:02:00 2007 +0000 @@ -1917,6 +1917,7 @@ char *msg; char *url = NULL; char *fullmsg; + PurpleAccount *account = gc->account; while (l) { struct yahoo_pair *pair = l->data; @@ -1949,6 +1950,9 @@ return; } #endif + if (!purple_account_get_remember_password(account)) + purple_account_set_password(account, NULL); + msg = g_strdup(_("Incorrect password.")); break; case 14: