/UPGRADE was broken, changed again the server connection code.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@2821 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2002-05-20 04:12:12 +00:00 committed by cras
commit 4aa0b9111e
11 changed files with 59 additions and 50 deletions

View file

@ -277,10 +277,12 @@ static void session_restore_server(CONFIG_NODE *node)
if (conn != NULL) {
conn->reconnection = TRUE;
conn->connect_handle = g_io_channel_unix_new(handle);
conn->session_reconnect = TRUE;
server = proto->server_connect(conn);
server = proto->server_init_connect(conn);
server->session_reconnect = TRUE;
signal_emit("session restore server", 2, server, node);
proto->server_connect(server);
}
}