diff options
author | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-11 22:05:54 +0200 |
---|---|---|
committer | Sebastien Helleu <flashcode@flashtux.org> | 2008-04-11 22:05:54 +0200 |
commit | 00e75b9b94b485ec863b6282ecda65fc022cbcf5 (patch) | |
tree | 5f6481a2d4ecb39c7b5f8134cd3b8d600cf0655f /src/plugins/scripts/script.c | |
parent | d975629686360821c020bb7304b7af1528a877f9 (diff) | |
download | weechat-00e75b9b94b485ec863b6282ecda65fc022cbcf5.zip |
Fixed bugs with weechat_config_get() in plugin API
Diffstat (limited to 'src/plugins/scripts/script.c')
-rw-r--r-- | src/plugins/scripts/script.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/plugins/scripts/script.c b/src/plugins/scripts/script.c index 108d0d12a..80e04609a 100644 --- a/src/plugins/scripts/script.c +++ b/src/plugins/scripts/script.c @@ -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); } |