1
0
mirror of https://github.com/moparisthebest/hexchat synced 2024-11-22 17:22:18 -05:00

Use 6697 for SSL connections by default

http://blog.freenode.net/2011/02/port-6697-irc-via-tlsssl/
This commit is contained in:
Berke Viktor 2012-07-31 09:19:37 +02:00
parent dd1d5f8e6a
commit 0242b706e0
2 changed files with 2 additions and 2 deletions

View File

@ -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")},

View File

@ -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 */