summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/plugins/fset/fset-option.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/plugins/fset/fset-option.c b/src/plugins/fset/fset-option.c
index d3da36e23..0153d67f8 100644
--- a/src/plugins/fset/fset-option.c
+++ b/src/plugins/fset/fset-option.c
@@ -1432,6 +1432,7 @@ fset_option_config_changed (const char *option_name)
ptr_fset_option = weechat_arraylist_get (fset_options, line);
if (ptr_fset_option
&& ptr_fset_option->parent_name
+ && option_name
&& (strcmp (ptr_fset_option->parent_name, option_name) == 0))
{
ptr_option = weechat_config_get (ptr_fset_option->name);