Say when we're reconnecting, and mention it can be aborted with /RMRECONNS

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@3204 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2004-01-19 17:52:08 +00:00 committed by cras
commit e980500702
5 changed files with 9 additions and 3 deletions

View file

@ -31,7 +31,8 @@ char *ssl_capath;
GIOChannel *connect_handle; /* connect using this handle */
/* when reconnecting, the old server status */
unsigned int reconnection:1; /* we're trying to reconnect */
unsigned int reconnection:1; /* we're trying to reconnect a connected server */
unsigned int reconnecting:1; /* we're trying to reconnect any connection */
unsigned int no_autojoin_channels:1; /* don't autojoin any channels */
unsigned int unix_socket:1; /* Connect using named unix socket */
unsigned int use_ssl:1; /* this connection uses SSL */

View file

@ -71,6 +71,7 @@ static void server_reconnect_add(SERVER_CONNECT_REC *conn,
rec->next_connect = next_connect;
rec->conn = conn;
conn->reconnecting = TRUE;
server_connect_ref(conn);
reconnects = g_slist_append(reconnects, rec);