diff --git a/src/core/wee-command.c b/src/core/wee-command.c index c622bad9d..ccce7a664 100644 --- a/src/core/wee-command.c +++ b/src/core/wee-command.c @@ -2227,9 +2227,9 @@ command_startup (int plugins_loaded) struct t_gui_buffer *weechat_buffer; if (plugins_loaded) - command = CONFIG_STRING(config_startup_command_before_plugins); - else command = CONFIG_STRING(config_startup_command_after_plugins); + else + command = CONFIG_STRING(config_startup_command_before_plugins); if (command && command[0]) {