1
0
mirror of https://github.com/anope/anope.git synced 2026-07-02 09:06:38 +02:00

Merge branch '2.0' into 2.1.

This commit is contained in:
Sadie Powell
2021-08-01 18:53:24 +01:00
50 changed files with 176 additions and 136 deletions
+6 -1
View File
@@ -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))