mirror of
https://github.com/weechat/weechat.git
synced 2026-06-30 14:56:39 +02:00
fset: fix crash on /upgrade when fset buffer is opened
This commit is contained in:
@@ -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 ();
|
||||
|
||||
Reference in New Issue
Block a user