Please sign in to comment.
Check `save_config_on_unload` on plugin unload
Plugins were not checking the value of `plugin.save_config_on_unload` and thus always writing their configuration to file on exit. The `weechat_config_write` macro now checks this preference before writing to file. Macro returns WEECHAT_CONFIG_WRITE_OK when the file is not written due to user preference.
- Loading branch information...
Showing with 5 additions and 2 deletions.