diff options
author | Sadie Powell <sadie@witchery.services> | 2021-06-04 02:12:09 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-06-04 02:12:09 +0100 |
commit | e67c2d563295701ac098bf186b7c1847f579f590 (patch) | |
tree | e21869a1c4315acf58693e8af638458a2e77d90c /src | |
parent | 3728a0bda1cf010520c4fae821fc9c98b2adb083 (diff) |
Add support for per-mode list limits.
Diffstat (limited to 'src')
-rw-r--r-- | src/protocol.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp index e4e64842e..5cb11d807 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -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)) |