diff options
author | Sadie Powell <sadie@witchery.services> | 2021-08-01 18:53:24 +0100 |
---|---|---|
committer | Sadie Powell <sadie@witchery.services> | 2021-08-01 18:53:24 +0100 |
commit | 561b205c4a3a125c12a7926ef18fa1eb822c387c (patch) | |
tree | c763ddefe765e23ec0ff189e24d55f634b52b954 /include/protocol.h | |
parent | 376053e0acae2a37a8f5c77c8de25ebf8a8395a9 (diff) | |
parent | 91321bdf682eb5b512373bb56c722f943cbc8183 (diff) |
Merge branch '2.0' into 2.1.
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/include/protocol.h b/include/protocol.h index feef6a162..cc3329bf1 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -15,8 +15,9 @@ #include "services.h" #include "anope.h" #include "service.h" +#include "modes.h" -/* Encapsultes the IRCd protocol we are speaking. */ +/* Encapsulates the IRCd protocol we are speaking. */ class CoreExport IRCDProto : public Service { Anope::string proto_name; @@ -54,7 +55,7 @@ class CoreExport IRCDProto : public Service bool CanSNLine; /* Can we ban specific nicknames from being used? */ bool CanSQLine; - /* Can we ban sepcific channel names from being used? */ + /* Can we ban specific channel names from being used? */ bool CanSQLineChannel; /* Can we ban by IP? */ bool CanSZLine; @@ -237,6 +238,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); }; |