changeset 4977:503f61301b81

[gaim-migrate @ 5312] Daniel Bungert (dbungert) noted and patched the situation where changing your password doesn't save your changed password to .gaimrc, so you can't log in again w/out manually editing the text file. his patch fixes that. committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Thu, 03 Apr 2003 14:04:02 +0000
parents 6fc8edf857f5
children 307c16c4b57e
files src/dialogs.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/dialogs.c	Thu Apr 03 13:52:24 2003 +0000
+++ b/src/dialogs.c	Thu Apr 03 14:04:02 2003 +0000
@@ -1881,6 +1881,8 @@
 	}
 
 	serv_change_passwd(b->gc, orig, new1);
+	g_snprintf(b->gc->account->password, sizeof(b->gc->account->password), "%s", new1);
+	save_prefs();
 
 	destroy_dialog(NULL, b->window);
 	g_free(b);