summaryrefslogtreecommitdiff
path: root/src/protocol.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/protocol.cpp')
-rw-r--r--src/protocol.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/protocol.cpp b/src/protocol.cpp
index c14f1ee68..35f302ba8 100644
--- a/src/protocol.cpp
+++ b/src/protocol.cpp
@@ -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())