Mercurial > pidgin.yaz
changeset 20588:e23a1585d822
Clear out the unsaved password if we're already disconnected and we switch to offline status. Fixes #3218.
author | Daniel Atallah <daniel.atallah@gmail.com> |
---|---|
date | Fri, 21 Sep 2007 01:49:27 +0000 |
parents | 45b524709475 |
children | 5723dbc6212d |
files | libpurple/prpl.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/prpl.c Fri Sep 21 00:55:32 2007 +0000 +++ b/libpurple/prpl.c Fri Sep 21 01:49:27 2007 +0000 @@ -226,6 +226,9 @@ { if (!purple_account_is_disconnected(account)) purple_account_disconnect(account); + /* Clear out the unsaved password if we're already disconnected and we switch to offline status */ + else if (!purple_account_get_remember_password(account)) + purple_account_set_password(account, NULL); return; }