diff options
author | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-02 21:59:25 +0200 |
---|---|---|
committer | Sébastien Helleu <flashcode@flashtux.org> | 2017-06-25 16:35:27 +0200 |
commit | bb5523d91214d82b94273695c9c6a276dc9a688e (patch) | |
tree | c8cb9492551b3fb7f715ece0fcad0bf3e400d0f0 /src/plugins | |
parent | 93fd6b96ceac294fe65907f19a515fecfff023af (diff) | |
download | weechat-bb5523d91214d82b94273695c9c6a276dc9a688e.zip |
fset: fix fset filter after /fset and /upgrade
Diffstat (limited to 'src/plugins')
-rw-r--r-- | src/plugins/fset/fset-buffer.c | 1 | ||||
-rw-r--r-- | src/plugins/fset/fset.c | 3 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fset/fset-buffer.c b/src/plugins/fset/fset-buffer.c index 5fa42a526..accebd48b 100644 --- a/src/plugins/fset/fset-buffer.c +++ b/src/plugins/fset/fset-buffer.c @@ -913,6 +913,7 @@ fset_buffer_open () weechat_buffer_set (fset_buffer, "type", "free"); fset_buffer_set_keys (); weechat_buffer_set (fset_buffer, "localvar_set_type", "option"); + weechat_buffer_set (fset_buffer, "localvar_set_filter", "*"); fset_buffer_selected_line = 0; } diff --git a/src/plugins/fset/fset.c b/src/plugins/fset/fset.c index 38d6f462a..8ac9450de 100644 --- a/src/plugins/fset/fset.c +++ b/src/plugins/fset/fset.c @@ -117,8 +117,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) if (fset_buffer) { ptr_filter = weechat_buffer_get_string (fset_buffer, "localvar_filter"); - if (ptr_filter) - fset_option_filter_options (ptr_filter); + fset_option_filter_options (ptr_filter); } return WEECHAT_RC_OK; |