mirror of
https://github.com/anope/anope.git
synced 2026-06-28 16:36:39 +02:00
Add networkinfo:modelistsize config option to set the max size of b/e/I lists
This commit is contained in:
@@ -385,6 +385,11 @@ void IRCDProto::SendOper(User *u)
|
||||
u->SetMode(OperServ, "OPER");
|
||||
}
|
||||
|
||||
unsigned IRCDProto::GetMaxListFor(Channel *c)
|
||||
{
|
||||
return c->HasMode("LBAN") ? 0 : Config->ListSize;
|
||||
}
|
||||
|
||||
MessageSource::MessageSource(const Anope::string &src) : source(src), u(NULL), s(NULL)
|
||||
{
|
||||
if (src.empty())
|
||||
|
||||
Reference in New Issue
Block a user