diff options
author | Adam <Adam@anope.org> | 2013-03-31 00:20:20 -0500 |
---|---|---|
committer | Adam <Adam@anope.org> | 2013-03-31 00:43:11 -0500 |
commit | 6e0dc0e2103494d50dd4bd9920550d1653365f05 (patch) | |
tree | 10b89c24cae17069a0cc97db376d960220f7089d /include/protocol.h | |
parent | 7e7556f06445d4d8e607ef514c9fb5009899db73 (diff) |
Add networkinfo:modelistsize config option to set the max size of b/e/I lists
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h index 9ff0167c9..8953d25e5 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -223,6 +223,11 @@ class CoreExport IRCDProto : public Service virtual bool IsIdentValid(const Anope::string &); virtual bool IsHostValid(const Anope::string &); virtual bool IsExtbanValid(const Anope::string &) { return false; } + + /** Retrieve the maximum number of list modes settable on this channel + * Defaults to Config->ListSize + */ + virtual unsigned GetMaxListFor(Channel *c); }; class CoreExport MessageSource |