--- a/libpurple/plugins/log_reader.c Sun Oct 21 04:47:57 2007 +0000 +++ b/libpurple/plugins/log_reader.c Sun Oct 21 04:49:28 2007 +0000 @@ -2453,14 +2453,16 @@ static void init_plugin(PurplePlugin *plugin) { + +} + +static void log_reader_init_prefs() { char *path; #ifdef _WIN32 char *folder; gboolean found = FALSE; #endif - g_return_if_fail(plugin != NULL); - purple_prefs_add_none("/plugins/core/log_reader"); @@ -2719,6 +2721,8 @@ { g_return_val_if_fail(plugin != NULL, FALSE); + log_reader_init_prefs(); + /* The names of IM clients are marked for translation at the request of translators who wanted to transliterate them. Many translators choose to leave them alone. Choose what's best for your language. */