mirror of
https://github.com/irssi/irssi.git
synced 2024-11-03 04:27:19 -05:00
Check for unix sockets when reconnecting
This commit is contained in:
parent
f0a6e5f82a
commit
86d263dd7d
@ -253,6 +253,9 @@ static void sig_reconnect(SERVER_REC *server)
|
||||
conn->port = server->connrec->port;
|
||||
conn->password = g_strdup(server->connrec->password);
|
||||
|
||||
if (strchr(conn->address, '/') != NULL)
|
||||
conn->unix_socket = TRUE;
|
||||
|
||||
server_reconnect_add(conn, (server->connect_time == 0 ? time(NULL) :
|
||||
server->connect_time) + reconnect_time);
|
||||
server_connect_unref(conn);
|
||||
|
Loading…
Reference in New Issue
Block a user