summaryrefslogtreecommitdiff
path: root/src/plugins/fset/fset.c
diff options
context:
space:
mode:
authorSébastien Helleu <flashcode@flashtux.org>2017-06-29 23:55:00 +0200
committerSébastien Helleu <flashcode@flashtux.org>2017-06-29 23:55:00 +0200
commit5cded073433e8e372edf5beccb3c300895e95933 (patch)
treec97d0619bdbe6e58febbdb92503f6fdc9caafd84 /src/plugins/fset/fset.c
parent5bb7472ed79317b3de426d3c915621095f7ef4f3 (diff)
downloadweechat-5cded073433e8e372edf5beccb3c300895e95933.zip
fset: fix crash on /upgrade when fset buffer is opened
Diffstat (limited to 'src/plugins/fset/fset.c')
-rw-r--r--src/plugins/fset/fset.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/plugins/fset/fset.c b/src/plugins/fset/fset.c
index 83fa495fd..e7045921f 100644
--- a/src/plugins/fset/fset.c
+++ b/src/plugins/fset/fset.c
@@ -86,6 +86,8 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
fset_buffer_init ();
+ fset_option_init ();
+
if (!fset_config_init ())
return WEECHAT_RC_ERROR;
@@ -94,8 +96,6 @@ weechat_plugin_init (struct t_weechat_plugin *plugin, int argc, char *argv[])
if (!fset_bar_item_init ())
return WEECHAT_RC_ERROR;
- fset_option_init ();
-
fset_command_init ();
fset_completion_init ();