From 6a29941fdcd32e39a92200ef31253a7ea6e724b9 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=A9bastien=20Helleu?= Date: Wed, 31 May 2017 20:58:11 +0200 Subject: [PATCH] fset: fix command /fset -bar --- src/plugins/fset/fset-command.c | 2 +- src/plugins/fset/fset.h | 2 ++ 2 files changed, 3 insertions(+), 1 deletion(-) 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 */