mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Correctly parse unix sockets servers in the config
This commit is contained in:
parent
688fc817dd
commit
f0a6e5f82a
@ -122,6 +122,9 @@ static void server_setup_fill(SERVER_CONNECT_REC *conn,
|
||||
conn->address = g_strdup(address);
|
||||
if (port > 0) conn->port = port;
|
||||
|
||||
if (strchr(address, '/') != NULL)
|
||||
conn->unix_socket = TRUE;
|
||||
|
||||
if (!conn->nick) conn->nick = g_strdup(settings_get_str("nick"));
|
||||
conn->username = g_strdup(settings_get_str("user_name"));
|
||||
conn->realname = g_strdup(settings_get_str("real_name"));
|
||||
|
Loading…
Reference in New Issue
Block a user