1
0
mirror of https://github.com/weechat/weechat.git synced 2026-06-24 20:06:38 +02:00

Fixed bugs with weechat_config_get() in plugin API

This commit is contained in:
Sebastien Helleu
2008-04-11 22:05:54 +02:00
parent d975629686
commit 00e75b9b94
8 changed files with 53 additions and 47 deletions
+1 -1
View File
@@ -425,7 +425,7 @@ script_remove (struct t_weechat_plugin *weechat_plugin,
&& !ptr_script_callback->config_section
&& !ptr_script_callback->config_option)
{
if (weechat_config_boolean (weechat_config_get_weechat ("plugin_save_config_on_unload")))
if (weechat_config_boolean (weechat_config_get ("weechat.plugin.save_config_on_unload")))
weechat_config_write (ptr_script_callback->config_file);
weechat_config_free (ptr_script_callback->config_file);
}