Mercurial > pidgin.yaz
changeset 20219:d68db74b7165
applied changes from c9d6104bcfe2e630e98e45bc6a0975adfb9544e5
through b8f4c984b75c0085755565ade268061262e1aed8
author | Richard Laager <rlaager@wiktel.com> |
---|---|
date | Fri, 28 Sep 2007 15:45:49 +0000 |
parents | 99ceb1329a5b |
children | 23248bf2bffd |
files | libpurple/prpl.c |
diffstat | 1 files changed, 3 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/prpl.c Fri Sep 28 15:45:25 2007 +0000 +++ b/libpurple/prpl.c Fri Sep 28 15:45:49 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; }