InspIRCd  2.0
 All Classes Namespaces Functions Variables Typedefs Enumerations
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 ( )
inline

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

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::MaxGecos

Maximum GECOS (real name) length

size_t ServerLimits::MaxKick

Maximum kick message length

size_t ServerLimits::MaxModes

Maximum number of modes per line

size_t ServerLimits::MaxQuit

Maximum length of a quit message

size_t ServerLimits::MaxTopic

Maximum topic length

size_t ServerLimits::NickMax

Maximum nickname length


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