summaryrefslogtreecommitdiff
path: root/src/core/session.c
diff options
context:
space:
mode:
authorTimo Sirainen <cras@irssi.org>2002-05-20 04:12:12 +0000
committercras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564>2002-05-20 04:12:12 +0000
commit4aa0b9111eb659954a19265d2c304e4fad93cb86 (patch)
tree96a6b61ef90fb6724e84b0ac2fe456347cb36e11 /src/core/session.c
parent09505d628c3bfee6eebabd34ccdba85d149b28d7 (diff)
downloadirssi-4aa0b9111eb659954a19265d2c304e4fad93cb86.zip
/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
Diffstat (limited to 'src/core/session.c')
-rw-r--r--src/core/session.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/src/core/session.c b/src/core/session.c
index 94bedfb6..0f3d089c 100644
--- a/src/core/session.c
+++ b/src/core/session.c
@@ -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);
}
}