diff options
Diffstat (limited to 'include/protocol.h')
-rw-r--r-- | include/protocol.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/include/protocol.h b/include/protocol.h index 08924a092..67a746b0f 100644 --- a/include/protocol.h +++ b/include/protocol.h @@ -293,6 +293,18 @@ public: virtual unsigned GetMaxListFor(Channel *c, ChannelMode *cm); virtual Anope::string NormalizeMask(const Anope::string &mask); + + /** Retrieves the maximum length of a channel name. */ + virtual size_t GetMaxChannel(); + + /** Retrieves the maximum length of a hostname. */ + virtual size_t GetMaxHost(); + + /** Retrieves the maximum length of a nickname. */ + virtual size_t GetMaxNick(); + + /** Retrieves the maximum length of a username. */ + virtual size_t GetMaxUser(); }; class CoreExport MessageSource final |