changeset 2458:8208e2016d9b

[gaim-migrate @ 2471] small bug committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 09 Oct 2001 18:12:41 +0000
parents e6b9246b33fd
children a25223b2c29b
files src/multi.c
diffstat 1 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/multi.c	Tue Oct 09 18:01:06 2001 +0000
+++ b/src/multi.c	Tue Oct 09 18:12:41 2001 +0000
@@ -612,6 +612,7 @@
 		mod_users = g_slist_append(mod_users, u);
 
 		if (a) {
+			int i;
 			u->options = a->options;
 			if (find_prpl(a->protocol))
 				u->protocol = a->protocol;
@@ -620,6 +621,9 @@
 			else
 				u->protocol = -1;
 			g_snprintf(u->iconfile, sizeof(u->iconfile), "%s", a->iconfile);
+			for (i = 0; i < 7; i++)
+				g_snprintf(u->proto_opt[i], sizeof(u->proto_opt[i]), "%s",
+						a->proto_opt[i]);
 		} else {
 			u->options = OPT_USR_REM_PASS;
 			if (find_prpl(DEFAULT_PROTO))