1
0
mirror of https://github.com/unrealircd/unrealircd.git synced 2026-06-30 17:06:38 +02:00

Fix to support existing deny link::mask syntax as well.

This commit is contained in:
Bram Matthys
2021-06-18 16:03:24 +02:00
parent 5d6738b3e8
commit 497c3059ea
+4 -1
View File
@@ -10143,7 +10143,10 @@ int _test_deny(ConfigFile *conf, ConfigEntry *ce)
errors++;
continue;
}
else if (!strcmp(cep->ce_varname, "rule"))
else if (!strcmp(cep->ce_varname, "mask"))
{
has_mask = 1;
} else if (!strcmp(cep->ce_varname, "rule"))
{
int val = 0;
if (has_rule)