summaryrefslogtreecommitdiff
path: root/include/protocol.h
diff options
context:
space:
mode:
authorSadie Powell <sadie@witchery.services>2021-06-04 02:12:09 +0100
committerSadie Powell <sadie@witchery.services>2021-06-04 02:12:09 +0100
commite67c2d563295701ac098bf186b7c1847f579f590 (patch)
treee21869a1c4315acf58693e8af638458a2e77d90c /include/protocol.h
parent3728a0bda1cf010520c4fae821fc9c98b2adb083 (diff)
Add support for per-mode list limits.
Diffstat (limited to 'include/protocol.h')
-rw-r--r--include/protocol.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h
index 4f4042738..a9fd2d763 100644
--- a/include/protocol.h
+++ b/include/protocol.h
@@ -15,6 +15,7 @@
#include "services.h"
#include "anope.h"
#include "service.h"
+#include "modes.h"
/* Encapsultes the IRCd protocol we are speaking. */
class CoreExport IRCDProto : public Service
@@ -241,6 +242,7 @@ class CoreExport IRCDProto : public Service
* Defaults to Config->ListSize
*/
virtual unsigned GetMaxListFor(Channel *c);
+ virtual unsigned GetMaxListFor(Channel *c, ChannelMode *cm);
virtual Anope::string NormalizeMask(const Anope::string &mask);
};