diff src/account.c @ 5581:3a9b54f260e3

[gaim-migrate @ 5985] Commit'em if you got'em. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Sat, 31 May 2003 04:35:54 +0000
parents 86456ec3ca25
children 4a1f97312412
line wrap: on
line diff
--- a/src/account.c	Sat May 31 02:27:03 2003 +0000
+++ b/src/account.c	Sat May 31 04:35:54 2003 +0000
@@ -552,7 +552,7 @@
 			plugin = (GaimPlugin *)l->data;
 
 			if (GAIM_IS_PROTOCOL_PLUGIN(plugin)) {
-				if (!strcmp(plugin->info->name, buffer)) {
+				if (!strcmp(plugin->info->id, buffer)) {
 					data->protocol =
 						GAIM_PLUGIN_PROTOCOL_INFO(plugin)->protocol;
 
@@ -563,8 +563,10 @@
 	}
 	else if (data->tag == TAG_NAME)
 		data->account = gaim_account_new(buffer, data->protocol);
-	else if (data->tag == TAG_PASSWORD)
+	else if (data->tag == TAG_PASSWORD) {
 		gaim_account_set_password(data->account, buffer);
+		gaim_account_set_remember_password(data->account, TRUE);
+	}
 	else if (data->tag == TAG_ALIAS)
 		gaim_account_set_alias(data->account, buffer);
 	else if (data->tag == TAG_USERINFO)