After a /upgrade, load session before plugins

This commit is contained in:
Sebastien Helleu 2005-12-11 13:59:50 +00:00
parent 11da868d70
commit 54baad1848
2 changed files with 6 additions and 8 deletions

View File

@ -970,16 +970,15 @@ main (int argc, char *argv[])
utf8_init (); /* init UTF-8 in WeeChat */ utf8_init (); /* init UTF-8 in WeeChat */
gui_init (); /* init WeeChat interface */ gui_init (); /* init WeeChat interface */
weechat_welcome_message (); /* display WeeChat welcome message */ weechat_welcome_message (); /* display WeeChat welcome message */
fifo_create (); /* FIFO pipe for remote control */
if (weechat_session)
session_load (weechat_session); /* load previous session if asked */
#ifdef PLUGINS #ifdef PLUGINS
plugin_init (auto_load_plugins); /* init plugin interface(s) */ plugin_init (auto_load_plugins); /* init plugin interface(s) */
#endif #endif
server_auto_connect (auto_connect, /* auto-connect to servers */ server_auto_connect (auto_connect, /* auto-connect to servers */
server_cmd_line); server_cmd_line);
fifo_create (); /* FIFO pipe for remote control */
if (weechat_session)
session_load (weechat_session); /* load previous session if asked */
gui_main_loop (); /* WeeChat main loop */ gui_main_loop (); /* WeeChat main loop */

View File

@ -970,16 +970,15 @@ main (int argc, char *argv[])
utf8_init (); /* init UTF-8 in WeeChat */ utf8_init (); /* init UTF-8 in WeeChat */
gui_init (); /* init WeeChat interface */ gui_init (); /* init WeeChat interface */
weechat_welcome_message (); /* display WeeChat welcome message */ weechat_welcome_message (); /* display WeeChat welcome message */
fifo_create (); /* FIFO pipe for remote control */
if (weechat_session)
session_load (weechat_session); /* load previous session if asked */
#ifdef PLUGINS #ifdef PLUGINS
plugin_init (auto_load_plugins); /* init plugin interface(s) */ plugin_init (auto_load_plugins); /* init plugin interface(s) */
#endif #endif
server_auto_connect (auto_connect, /* auto-connect to servers */ server_auto_connect (auto_connect, /* auto-connect to servers */
server_cmd_line); server_cmd_line);
fifo_create (); /* FIFO pipe for remote control */
if (weechat_session)
session_load (weechat_session); /* load previous session if asked */
gui_main_loop (); /* WeeChat main loop */ gui_main_loop (); /* WeeChat main loop */