diff options
Diffstat (limited to 'src/weechat.c')
-rw-r--r-- | src/weechat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/weechat.c b/src/weechat.c index f8c8dd2d1..e638b095a 100644 --- a/src/weechat.c +++ b/src/weechat.c @@ -211,8 +211,8 @@ wee_init_log () void wee_shutdown () { - gui_end (); server_free_all (); + gui_end (); if (log_file) fclose (log_file); exit (0); @@ -298,7 +298,7 @@ main (int argc, char *argv[]) { if (ptr_server->autoconnect) { - server_create_window (ptr_server); + gui_window_new (ptr_server, NULL); if (server_connect (ptr_server)) irc_login (ptr_server); } |