diff --git a/src/plugins/fset/fset-command.c b/src/plugins/fset/fset-command.c index 76c21029b..971d60844 100644 --- a/src/plugins/fset/fset-command.c +++ b/src/plugins/fset/fset-command.c @@ -70,7 +70,7 @@ fset_command_fset (const void *pointer, void *data, if (weechat_strcasecmp (argv[1], "-bar") == 0) { - fset_bar_item_update (); + fset_add_bar (); return WEECHAT_RC_OK; } diff --git a/src/plugins/fset/fset.h b/src/plugins/fset/fset.h index 1093b6ac8..10627b019 100644 --- a/src/plugins/fset/fset.h +++ b/src/plugins/fset/fset.h @@ -32,4 +32,6 @@ extern struct t_hdata *fset_hdata_config_section; extern struct t_hdata *fset_hdata_config_option; extern struct t_hdata *fset_hdata_fset_option; +extern void fset_add_bar (); + #endif /* WEECHAT_FSET_H */