summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
committerSadie Powell <sadie@witchery.services>2021-08-01 18:53:24 +0100
commit561b205c4a3a125c12a7926ef18fa1eb822c387c (patch)
treec763ddefe765e23ec0ff189e24d55f634b52b954 /src/protocol.cpp
parent376053e0acae2a37a8f5c77c8de25ebf8a8395a9 (diff)
parent91321bdf682eb5b512373bb56c722f943cbc8183 (diff)
Merge branch '2.0' into 2.1.
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp7
1 files changed, 6 insertions, 1 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index c81d18e5f..375104812 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
@@ -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))