diff options
Diffstat (limited to 'include')
| -rw-r--r-- | include/config.h | 2 | ||||
| -rw-r--r-- | include/protocol.h | 5 |
2 files changed, 7 insertions, 0 deletions
diff --git a/include/config.h b/include/config.h index 4ea182c0d..36a4836c8 100644 --- a/include/config.h +++ b/include/config.h @@ -375,6 +375,8 @@ class CoreExport ServerConfig unsigned HostLen; /* Max length of channel names */ unsigned ChanLen; + /* Max length of b/e/I lists */ + unsigned ListSize; /* User and group to run as */ Anope::string User; 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 |
