From e67c2d563295701ac098bf186b7c1847f579f590 Mon Sep 17 00:00:00 2001 From: Sadie Powell Date: Fri, 4 Jun 2021 02:12:09 +0100 Subject: Add support for per-mode list limits. --- src/protocol.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/protocol.cpp') 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("modelistsize"); } +unsigned IRCDProto::GetMaxListFor(Channel *c, ChannelMode *cm) +{ + return GetMaxListFor(c); +} + Anope::string IRCDProto::NormalizeMask(const Anope::string &mask) { if (IsExtbanValid(mask)) -- cgit From fd88b756fc20dedea15a8a08c21e8f7af6612e4e Mon Sep 17 00:00:00 2001 From: Josh Soref <2119212+jsoref@users.noreply.github.com> Date: Thu, 17 Jun 2021 10:02:30 -0400 Subject: Fix various spelling issues (#274). Signed-off-by: Josh Soref . --- src/protocol.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/protocol.cpp') diff --git a/src/protocol.cpp b/src/protocol.cpp index 5cb11d807..dbf44c03f 100644 --- a/src/protocol.cpp +++ b/src/protocol.cpp @@ -351,7 +351,7 @@ void IRCDProto::SendNumeric(int numeric, const Anope::string &dest, const char * bool IRCDProto::IsNickValid(const Anope::string &nick) { /** - * RFC: defination of a valid nick + * RFC: definition of a valid nick * nickname = ( letter / special ) ( letter / digit / special / "-" ) * letter = A-Z / a-z * digit = 0-9 -- cgit