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:
+6
-1
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user