Mercurial > pidgin.yaz
changeset 31531:dd2f19faee14
Stu points out that removing this old pref could be a problem for users sharing .purple directories.
author | John Bailey <rekkanoryo@rekkanoryo.org> |
---|---|
date | Thu, 30 Dec 2010 02:43:47 +0000 |
parents | 86598f5d7ebd |
children | 8c6a1fa21f43 |
files | libpurple/plugins/autoaccept.c |
diffstat | 1 files changed, 1 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libpurple/plugins/autoaccept.c Thu Dec 30 01:22:52 2010 +0000 +++ b/libpurple/plugins/autoaccept.c Thu Dec 30 02:43:47 2010 +0000 @@ -231,10 +231,8 @@ plugin_load(PurplePlugin *plugin) { /* migrate the old pref (we should only care if the plugin is actually *used*) */ - if(purple_prefs_get_bool(PREF_STRANGER_OLD)) { + if(purple_prefs_get_bool(PREF_STRANGER_OLD)) purple_prefs_set_int(PREF_STRANGER, FT_REJECT); - purple_prefs_remove(PREF_STRANGER_OLD); - } purple_signal_connect(purple_xfers_get_handle(), "file-recv-request", plugin, PURPLE_CALLBACK(file_recv_request_cb), plugin);