mirror of
https://github.com/inspircd/inspircd.git
synced 2025-03-09 18:49:03 -04:00
Error if a user doesn't specify any DNSBL records to match.
This commit is contained in:
parent
73ac91e4ed
commit
72ff58f7ed
@ -159,6 +159,9 @@ public:
|
|||||||
|
|
||||||
records.set(record);
|
records.set(record);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
if (records.none())
|
||||||
|
throw ModuleException(mod, "<dnsbl:records> can not be empty at " + tag->source.str());
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
Loading…
x
Reference in New Issue
Block a user