1
0
mirror of https://github.com/irssi/irssi.git synced 2024-12-04 14:46:39 -05:00

/SERVER <ircnet> used always port 6667 when connecting.

git-svn-id: http://svn.irssi.org/repos/irssi/trunk@468 dbcabf3a-b0e7-0310-adc4-f8d773084564
This commit is contained in:
Timo Sirainen 2000-07-15 14:38:23 +00:00 committed by cras
parent b19e1450e1
commit f47156a7ca

View File

@ -133,6 +133,7 @@ create_addr_conn(const char *address, int port, const char *password,
sserver = server_setup_find(address, -1); sserver = server_setup_find(address, -1);
if (sserver == NULL) return conn; if (sserver == NULL) return conn;
if (sserver->port > 0) conn->port = sserver->port;
server_setup_fill_conn(conn, sserver); server_setup_fill_conn(conn, sserver);
sserver->last_connect = time(NULL); sserver->last_connect = time(NULL);