From 0242b706e019136891dc5756a5dfcfd82ba545ad Mon Sep 17 00:00:00 2001 From: Berke Viktor Date: Tue, 31 Jul 2012 09:19:37 +0200 Subject: [PATCH] Use 6697 for SSL connections by default http://blog.freenode.net/2011/02/port-6697-irc-via-tlsssl/ --- src/common/outbound.c | 2 +- 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] [] [], connects to a server, the default port is 6667 for normal connections, and 9999 for ssl connections")}, + N_("SERVER [-ssl] [] [], 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 [] [], 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 */