mirror of
https://github.com/irssi/irssi.git
synced 2025-01-03 14:56:47 -05: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:
parent
d8128cdcda
commit
d2e7e041ff
@ -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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user