Fix bug with options startup_command_{before|after}_plugins
This commit is contained in:
parent
469ff93d91
commit
88133a7b9a
@ -2227,9 +2227,9 @@ command_startup (int plugins_loaded)
|
|||||||
struct t_gui_buffer *weechat_buffer;
|
struct t_gui_buffer *weechat_buffer;
|
||||||
|
|
||||||
if (plugins_loaded)
|
if (plugins_loaded)
|
||||||
command = CONFIG_STRING(config_startup_command_before_plugins);
|
|
||||||
else
|
|
||||||
command = CONFIG_STRING(config_startup_command_after_plugins);
|
command = CONFIG_STRING(config_startup_command_after_plugins);
|
||||||
|
else
|
||||||
|
command = CONFIG_STRING(config_startup_command_before_plugins);
|
||||||
|
|
||||||
if (command && command[0])
|
if (command && command[0])
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user