| 161 } else { |
161 } else { |
| 162 if (info != NULL) |
162 if (info != NULL) |
| 163 g_hash_table_remove(auto_reconns, account); |
163 g_hash_table_remove(auto_reconns, account); |
| 164 |
164 |
| 165 purple_account_set_enabled(account, PIDGIN_UI, FALSE); |
165 purple_account_set_enabled(account, PIDGIN_UI, FALSE); |
| |
166 |
| |
167 /* clear the saved password if this is an authentication failure */ |
| |
168 if(reason == PURPLE_CONNECTION_ERROR_AUTHENTICATION_FAILED) |
| |
169 purple_account_set_password(account, NULL); |
| |
170 |
| 166 } |
171 } |
| 167 |
172 |
| 168 /* If we have any open chats, we probably want to rejoin when we get back online. */ |
173 /* If we have any open chats, we probably want to rejoin when we get back online. */ |
| 169 list = purple_get_chats(); |
174 list = purple_get_chats(); |
| 170 while (list) { |
175 while (list) { |