changeset 2091:bc3a118644d5

[gaim-migrate @ 2101] de-escape things committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 31 Jul 2001 23:57:34 +0000
parents b66aca8e8dce
children 59b0377d18aa
files src/gaimrc.c
diffstat 1 files changed, 8 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/gaimrc.c	Tue Jul 31 23:23:40 2001 +0000
+++ b/src/gaimrc.c	Tue Jul 31 23:57:34 2001 +0000
@@ -211,6 +211,7 @@
 
 			g_snprintf(a->name, sizeof(a->name), "%s", p->value[0]);
 			g_snprintf(a->message, sizeof(a->message), "%s", p->value[1]);
+			filter_break(a->name);
 			filter_break(a->message);
 			away_messages = g_slist_insert_sorted(away_messages, a, sort_awaymsg_list);
 		}
@@ -277,17 +278,21 @@
 			b = g_new0(struct buddy_pounce, 1);
 
 			g_snprintf(b->name, sizeof(b->name), "%s", p->value[0]);
+			filter_break(b->name);
 			g_snprintf(b->message, sizeof(b->message), "%s", p->value[1]);
+			filter_break(b->message);
 			g_snprintf(b->command, sizeof(b->command), "%s", p->value[2]);
+			filter_break(b->command);
 
 			b->options = atoi(p->value[3]);
 
 			g_snprintf(b->pouncer, sizeof(b->pouncer), "%s", p->value[4]);
+			filter_break(b->pouncer);
 			b->protocol = atoi(p->value[5]);
 
 			g_snprintf(b->sound, sizeof(b->sound), "%s", p->value[6]);
+			filter_break(b->sound);
 			
-			filter_break(b->message);
 			buddy_pounces = g_list_append(buddy_pounces, b);
 		}
 	}
@@ -360,6 +365,7 @@
 			b = g_new0(struct chat_room, 1);
 
 			g_snprintf(b->name, sizeof(b->name), "%s", p->value[0]);
+			filter_break(b->name);
 
 			b->exchange = atoi(p->value[1]);
 
@@ -445,7 +451,7 @@
 	 * which ones to load before loading them. */
 	while (load) {
 		if (load->data)
-			load_plugin(load->data);
+			load_plugin(filter_break(load->data));
 		g_free(load->data);
 		load = g_slist_remove(load, load->data);
 	}