1
0
mirror of https://github.com/anope/anope.git synced 2026-06-25 11:16:37 +02:00

Add support for per-mode list limits.

This commit is contained in:
Sadie Powell
2021-06-04 02:12:09 +01:00
parent 3728a0bda1
commit e67c2d5632
4 changed files with 14 additions and 4 deletions
+5
View File
@@ -438,6 +438,11 @@ unsigned IRCDProto::GetMaxListFor(Channel *c)
return c->HasMode("LBAN") ? 0 : Config->GetBlock("networkinfo")->Get<int>("modelistsize");
}
unsigned IRCDProto::GetMaxListFor(Channel *c, ChannelMode *cm)
{
return GetMaxListFor(c);
}
Anope::string IRCDProto::NormalizeMask(const Anope::string &mask)
{
if (IsExtbanValid(mask))