comparison libpurple/prpl.c @ 20219:d68db74b7165

applied changes from c9d6104bcfe2e630e98e45bc6a0975adfb9544e5 through b8f4c984b75c0085755565ade268061262e1aed8
author Richard Laager <rlaager@wiktel.com>
date Fri, 28 Sep 2007 15:45:49 +0000
parents 44b4e8bd759b
children 495f2f1de998
comparison
equal deleted inserted replaced
20218:99ceb1329a5b 20219:d68db74b7165
224 224
225 if (!purple_status_is_online(new_status)) 225 if (!purple_status_is_online(new_status))
226 { 226 {
227 if (!purple_account_is_disconnected(account)) 227 if (!purple_account_is_disconnected(account))
228 purple_account_disconnect(account); 228 purple_account_disconnect(account);
229 /* Clear out the unsaved password if we're already disconnected and we switch to offline status */
230 else if (!purple_account_get_remember_password(account))
231 purple_account_set_password(account, NULL);
229 return; 232 return;
230 } 233 }
231 234
232 if (purple_account_is_connecting(account)) 235 if (purple_account_is_connecting(account))
233 /* 236 /*