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

#include <configreader.h>

Public Member Functions

 ServerLimits ()

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

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 ( )

Creating the class initialises it to the defaults as in 1.1's ./configure script. Reading other values from the config will change these values.

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

◆ MaxKick

size_t ServerLimits::MaxKick

Maximum kick message 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 file: