InspIRCd
3.0
|
#include <configreader.h>
Public Member Functions | |
ServerLimits (ConfigTag *tag) | |
size_t | GetMaxMask () const |
Public Attributes | |
size_t | MaxLine |
size_t | NickMax |
size_t | ChanMax |
size_t | MaxModes |
size_t | IdentMax |
size_t | MaxQuit |
size_t | MaxTopic |
size_t | MaxKick |
size_t | MaxReal |
size_t | MaxAway |
size_t | MaxHost |
Defines the server's length limits on various length-limited items such as topics, nicknames, channel names etc.
ServerLimits::ServerLimits | ( | ConfigTag * | tag | ) |
Read all limits from a config tag. Limits which aren't specified in the tag are set to a default value.
tag | Configuration tag to read the limits from |
|
inline |
Maximum length of a [email protected] mask
size_t ServerLimits::ChanMax |
Maximum channel length
size_t ServerLimits::IdentMax |
Maximum length of ident, not including ~ etc
size_t ServerLimits::MaxAway |
Maximum away message length
size_t ServerLimits::MaxHost |
Maximum hostname length
size_t ServerLimits::MaxKick |
Maximum kick message length
size_t ServerLimits::MaxLine |
Maximum line length
size_t ServerLimits::MaxModes |
Maximum number of modes per line
size_t ServerLimits::MaxQuit |
Maximum length of a quit message
size_t ServerLimits::MaxReal |
Maximum real name length
size_t ServerLimits::MaxTopic |
Maximum topic length
size_t ServerLimits::NickMax |
Maximum nickname length