diff --git a/src/plugins/fset/fset-config.c b/src/plugins/fset/fset-config.c index 8ab295bfc..adde59df8 100644 --- a/src/plugins/fset/fset-config.c +++ b/src/plugins/fset/fset-config.c @@ -34,7 +34,6 @@ struct t_config_file *fset_config_file = NULL; /* fset config, look section */ struct t_config_option *fset_config_look_condition_catch_set; -struct t_config_option *fset_config_look_enabled; struct t_config_option *fset_config_look_help_bar; struct t_config_option *fset_config_look_use_keys; struct t_config_option *fset_config_look_use_mute; @@ -204,14 +203,6 @@ fset_config_init () NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL, NULL); - fset_config_look_enabled = weechat_config_new_option ( - fset_config_file, ptr_section, - "enabled", "boolean", - N_("enable fset"), - NULL, 0, 0, "on", NULL, 0, - NULL, NULL, NULL, - NULL, NULL, NULL, - NULL, NULL, NULL); fset_config_look_help_bar = weechat_config_new_option ( fset_config_file, ptr_section, "help_bar", "boolean", diff --git a/src/plugins/fset/fset-config.h b/src/plugins/fset/fset-config.h index 24ea3840b..2ecc98e37 100644 --- a/src/plugins/fset/fset-config.h +++ b/src/plugins/fset/fset-config.h @@ -25,7 +25,6 @@ extern struct t_config_file *fset_config_file; extern struct t_config_option *fset_config_look_condition_catch_set; -extern struct t_config_option *fset_config_look_enabled; extern struct t_config_option *fset_config_look_help_bar; extern struct t_config_option *fset_config_look_use_keys; extern struct t_config_option *fset_config_look_use_mute; diff --git a/src/plugins/fset/fset.c b/src/plugins/fset/fset.c index 74ae90123..38d6f462a 100644 --- a/src/plugins/fset/fset.c +++ b/src/plugins/fset/fset.c @@ -98,7 +98,7 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[]) fset_command_init (); - if (weechat_config_boolean (fset_config_look_enabled)) + if (weechat_config_boolean (fset_config_look_help_bar)) fset_add_bar (); fset_bar_item_update ();