diff options
author | Berke Viktor <bviktor@hexchat.org> | 2012-07-31 09:19:37 +0200 |
---|---|---|
committer | Berke Viktor <bviktor@hexchat.org> | 2012-07-31 09:20:20 +0200 |
commit | 0242b706e019136891dc5756a5dfcfd82ba545ad (patch) | |
tree | f5f7c349a9dde7f882e59450e360c80f1673f4b9 /src | |
parent | dd1d5f8e6a1ecbb203524e869928c1ac4a41bf03 (diff) |
Use 6697 for SSL connections by default
http://blog.freenode.net/2011/02/port-6697-irc-via-tlsssl/
Diffstat (limited to 'src')
-rw-r--r-- | src/common/outbound.c | 2 | ||||
-rw-r--r-- | src/common/server.c | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/common/outbound.c b/src/common/outbound.c index 011deaeb..060c6742 100644 --- a/src/common/outbound.c +++ b/src/common/outbound.c @@ -3668,7 +3668,7 @@ const struct commands xc_cmds[] = { #endif #ifdef USE_OPENSSL {"SERVER", cmd_server, 0, 0, 1, - N_("SERVER [-ssl] <host> [<port>] [<password>], connects to a server, the default port is 6667 for normal connections, and 9999 for ssl connections")}, + N_("SERVER [-ssl] <host> [<port>] [<password>], connects to a server, the default port is 6667 for normal connections, and 6697 for ssl connections")}, #else {"SERVER", cmd_server, 0, 0, 1, N_("SERVER <host> [<port>] [<password>], connects to a server, the default port is 6667")}, diff --git a/src/common/server.c b/src/common/server.c index 2e8d535d..df410f62 100644 --- a/src/common/server.c +++ b/src/common/server.c @@ -1689,7 +1689,7 @@ server_connect (server *serv, char *hostname, int port, int no_login) port = 6667; #ifdef USE_OPENSSL if (serv->use_ssl) - port = 9999; + port = 6697; #endif } port &= 0xffff; /* wrap around */ |