diff options
author | Timo Sirainen <cras@irssi.org> | 2000-07-15 14:38:23 +0000 |
---|---|---|
committer | cras <cras@dbcabf3a-b0e7-0310-adc4-f8d773084564> | 2000-07-15 14:38:23 +0000 |
commit | f47156a7ca06f2c47a5210b796492d55ed7f2c18 (patch) | |
tree | 893b472c31a142748e75768f929693fa2756ed7a | |
parent | b19e1450e1cea4d9903ac388cdd4a0ad547d5b32 (diff) | |
download | irssi-f47156a7ca06f2c47a5210b796492d55ed7f2c18.zip |
/SERVER <ircnet> used always port 6667 when connecting.
git-svn-id: http://svn.irssi.org/repos/irssi/trunk@468 dbcabf3a-b0e7-0310-adc4-f8d773084564
-rw-r--r-- | src/irc/core/server-setup.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/irc/core/server-setup.c b/src/irc/core/server-setup.c index 628eaec5..0e827be7 100644 --- a/src/irc/core/server-setup.c +++ b/src/irc/core/server-setup.c @@ -133,6 +133,7 @@ create_addr_conn(const char *address, int port, const char *password, sserver = server_setup_find(address, -1); if (sserver == NULL) return conn; + if (sserver->port > 0) conn->port = sserver->port; server_setup_fill_conn(conn, sserver); sserver->last_connect = time(NULL); |