1
0
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:
Adam
2013-03-31 00:20:20 -05:00
parent 7e7556f064
commit 6e0dc0e210
7 changed files with 38 additions and 6 deletions
+5
View File
@@ -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())