mirror of
https://github.com/irssi/irssi.git
synced 2024-12-04 14:46:39 -05:00
Merge pull request 'Fix github issue #1504 - irssi switches to af_unix if network name contains /' (!6) from ticho/irssi:gh1504 into master
Reviewed-on: https://codeberg.org/irssi/irssi/pulls/6
This commit is contained in:
commit
215be29035
@ -30,6 +30,7 @@
|
||||
#include <irssi/src/core/servers-setup.h>
|
||||
#include <irssi/src/core/servers-reconnect.h>
|
||||
#include <irssi/src/core/channels.h>
|
||||
#include <irssi/src/core/chatnets.h>
|
||||
#include <irssi/src/core/queries.h>
|
||||
#include <irssi/src/core/window-item-def.h>
|
||||
#include <irssi/src/core/rawlog.h>
|
||||
@ -91,7 +92,7 @@ static SERVER_CONNECT_REC *get_server_connect(const char *data, int *plus_addr,
|
||||
return NULL;
|
||||
}
|
||||
|
||||
if (strchr(addr, '/') != NULL)
|
||||
if (strchr(addr, '/') != NULL && chatnet_find(addr) == NULL)
|
||||
conn->unix_socket = TRUE;
|
||||
|
||||
/* TLS options are handled in server_create_conn_opt ... -> server_setup_fill_optlist */
|
||||
|
Loading…
Reference in New Issue
Block a user