mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-06-12 19:14:46 +02:00
Actually make it possible for set::best-practices::trusted-cert-valid-hostname
to be turned off (it was seen as an unknown option). Reported by PeGaSuS.
This commit is contained in:
@@ -9787,6 +9787,10 @@ int _test_set(ConfigFile *conf, ConfigEntry *ce)
|
||||
{
|
||||
bestpractices.trusted_cert = config_checkval(cepp->value, CFG_YESNO);
|
||||
} else
|
||||
if (!strcmp(cepp->name, "trusted-cert-valid-hostname"))
|
||||
{
|
||||
bestpractices.trusted_cert_valid_hostname = config_checkval(cepp->value, CFG_YESNO);
|
||||
} else
|
||||
if (!strcmp(cepp->name, "listen-nontls-port"))
|
||||
{
|
||||
bestpractices.listen_nontls_port = config_checkval(cepp->value, CFG_YESNO);
|
||||
|
||||
Reference in New Issue
Block a user