mirror of
https://github.com/pissnet/pissircd.git
synced 2025-07-31 07:22:26 +01:00
Fix to support existing deny link::mask syntax as well.
This commit is contained in:
parent
5d6738b3e8
commit
497c3059ea
1 changed files with 4 additions and 1 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue