Fix bug with options startup_command_{before|after}_plugins

This commit is contained in:
Sebastien Helleu 2008-03-11 17:53:08 +01:00
parent 469ff93d91
commit 88133a7b9a

View File

@ -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])
{