1
0
mirror of https://github.com/irssi/irssi.git synced 2024-07-07 02:54:19 -04:00

/SERVER: don't set reconnection to TRUE if we're not disconnecting from

any server


git-svn-id: http://svn.irssi.org/repos/irssi/trunk@1357 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2001-03-05 16:11:53 +00:00 committed by cras
parent d8128cdcda
commit d2e7e041ff

View File

@ -149,8 +149,6 @@ static void update_reconnection(SERVER_CONNECT_REC *conn, SERVER_REC *server)
SERVER_CONNECT_REC *oldconn;
RECONNECT_REC *recon;
conn->reconnection = TRUE;
if (server != NULL) {
oldconn = server->connrec;
reconnect_save_status(conn, server);
@ -168,6 +166,8 @@ static void update_reconnection(SERVER_CONNECT_REC *conn, SERVER_REC *server)
conn->channels = g_strdup(oldconn->channels);
}
conn->reconnection = TRUE;
if (conn->chatnet == NULL && oldconn->chatnet != NULL)
conn->chatnet = g_strdup(oldconn->chatnet);