libpurple/protocols/yahoo/yahoojp.c

branch
soc.2013.gobjectification.plugins
changeset 36686
9807e4acf281
parent 36684
ecc74498e088
child 36714
ec178f7d66da
--- a/libpurple/protocols/yahoo/yahoojp.c	Wed Sep 04 20:11:40 2013 +0530
+++ b/libpurple/protocols/yahoo/yahoojp.c	Wed Sep 04 20:38:42 2013 +0530
@@ -94,7 +94,7 @@
 	protocol->name = "Yahoo JAPAN";
 
 	/* delete yahoo's protocol options */
-	purple_protocol_options_free(protocol->protocol_options);
+	purple_protocol_override(protocol, PURPLE_PROTOCOL_OVERRIDE_PROTOCOL_OPTIONS);
 
 	option = purple_account_option_int_new(_("Pager port"), "port", YAHOO_PAGER_PORT);
 	protocol->protocol_options = g_list_append(protocol->protocol_options, option);

mercurial