summaryrefslogtreecommitdiff
path: root/src/plugins/fset
diff options
context:
space:
mode:
Diffstat (limited to 'src/plugins/fset')
-rw-r--r--src/plugins/fset/fset-buffer.c1
-rw-r--r--src/plugins/fset/fset.c3
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;