InspIRCd  3.0
Public Member Functions | Public Attributes | List of all members
ServerLimits Class Reference

#include <configreader.h>

Public Member Functions

 ServerLimits (ConfigTag *tag)
size_t GetMaxMask () const

Public Attributes

size_t NickMax
size_t ChanMax
size_t MaxModes
size_t IdentMax
size_t MaxQuit
size_t MaxTopic
size_t MaxKick
size_t MaxGecos
size_t MaxAway
size_t MaxLine
size_t MaxHost

Detailed Description

Defines the server's length limits on various length-limited items such as topics, nicknames, channel names etc.

Constructor & Destructor Documentation

◆ ServerLimits()

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.

tagConfiguration tag to read the limits from

Member Function Documentation

◆ GetMaxMask()

size_t ServerLimits::GetMaxMask ( ) const

Maximum length of a [email protected] mask

Member Data Documentation

◆ ChanMax

size_t ServerLimits::ChanMax

Maximum channel length

◆ IdentMax

size_t ServerLimits::IdentMax

Maximum length of ident, not including ~ etc

◆ MaxAway

size_t ServerLimits::MaxAway

Maximum away message length

◆ MaxGecos

size_t ServerLimits::MaxGecos

Maximum GECOS (real name) length

◆ MaxHost

size_t ServerLimits::MaxHost

Maximum hostname length

◆ MaxKick

size_t ServerLimits::MaxKick

Maximum kick message length

◆ MaxLine

size_t ServerLimits::MaxLine

Maximum line length

◆ MaxModes

size_t ServerLimits::MaxModes

Maximum number of modes per line

◆ MaxQuit

size_t ServerLimits::MaxQuit

Maximum length of a quit message

◆ MaxTopic

size_t ServerLimits::MaxTopic

Maximum topic length

◆ NickMax

size_t ServerLimits::NickMax

Maximum nickname length

The documentation for this class was generated from the following files: