1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-07-05 06:33:14 +02:00
This commit is contained in:
Bram Matthys
2017-08-19 12:07:54 +02:00
parent 6afbc4ee99
commit efb344b9b2
+1 -1
View File
@@ -358,7 +358,7 @@ skip_host_check:
get_client_name(cptr, TRUE));
return exit_client(cptr, cptr, &me, "Full class");
}
if (!IsLocal(cptr) && (iConf.plaintext_policy_server == PLAINTEXT_POLICY_DENY))
if (!IsLocal(cptr) && (iConf.plaintext_policy_server == PLAINTEXT_POLICY_DENY) && !IsSecure(cptr))
{
sendto_one(cptr, "ERROR :Servers need to use SSL/TLS (set::plaintext-policy::server is 'deny')");
sendto_realops("Rejected insecure server. See https://www.unrealircd.org/docs/FAQ#ERROR:_Servers_need_to_use_SSL.2FTLS");