# HG changeset patch # User Paul Aurich # Date 1271133008 0 # Node ID 3fbae92e7e0baf5c181a426b0a34fb2a662a6ef2 # Parent 5abe9f74a1de4ca120ac9b65bede528fbea52199 oscar: Forget un-remembered passwords on Incorrect Password w/ clientLogin. This brings it in line with the BUCP logic (and other prpls). Fixes #11671, I assume. diff -r 5abe9f74a1de -r 3fbae92e7e0b libpurple/protocols/oscar/clientlogin.c --- a/libpurple/protocols/oscar/clientlogin.c Tue Apr 13 02:50:55 2010 +0000 +++ b/libpurple/protocols/oscar/clientlogin.c Tue Apr 13 04:30:08 2010 +0000 @@ -428,6 +428,9 @@ "was %d (%d): %s\n", status_code, status_detail_code, response); if (status_code == 330 && status_detail_code == 3011) { + PurpleAccount *account = purple_connection_get_account(gc); + if (!purple_account_get_remember_password(account)) + purple_account_set_password(account, NULL); purple_connection_error_reason(gc, PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED, _("Incorrect password"));