|
|||
|
|||
|
#include <configreader.h>
Inheritance diagram for ServerLimits:


Public Member Functions | |
| ServerLimits () | |
| Creating the class initialises it to the defaults as in 1.1's . | |
| void | Finalise () |
| Finalises the settings by adding one. | |
Public Attributes | |
| size_t | NickMax |
| Maximum nickname length. | |
| size_t | ChanMax |
| Maximum channel length. | |
| size_t | MaxModes |
| Maximum number of modes per line. | |
| size_t | IdentMax |
| Maximum length of ident, not including ~ etc. | |
| size_t | MaxQuit |
| Maximum length of a quit message. | |
| size_t | MaxTopic |
| Maximum topic length. | |
| size_t | MaxKick |
| Maximum kick message length. | |
| size_t | MaxGecos |
| Maximum GECOS (real name) length. | |
| size_t | MaxAway |
| Maximum away message length. | |
Definition at line 257 of file configreader.h.
|
|
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. Definition at line 283 of file configreader.h. |
|
|
Finalises the settings by adding one. This allows for them to be used as-is without a 'value+1' when using the std::string assignment methods etc. Definition at line 290 of file configreader.h. References ChanMax, IdentMax, MaxAway, MaxGecos, MaxKick, MaxQuit, MaxTopic, and NickMax. Referenced by ServerConfig::Read(). |
|
|
Maximum channel length.
Definition at line 263 of file configreader.h. Referenced by BanRedirect::BeforeMode(), Channel::Channel(), Finalise(), CommandSajoin::Handle(), Channel::JoinUser(), Redirect::OnModeChange(), ModuleConnJoin::OnPostConnect(), ModuleOperjoin::OnPostOper(), ModuleDenyChannels::OnRehash(), ModuleDenyChannels::OnUserPreJoin(), and TreeSocket::SendCapabilities(). |
|
|
Maximum length of ident, not including ~ etc.
Definition at line 267 of file configreader.h. Referenced by User::ChangeIdent(), Finalise(), CommandSetident::Handle(), CommandChgident::Handle(), ModuleIdent::OnCheckReady(), ModuleIdent::OnUserRegister(), IdentRequestSocket::ReadResponse(), and TreeSocket::SendCapabilities(). |
|
|
Maximum away message length.
Definition at line 277 of file configreader.h. Referenced by InspIRCd::BuildISupport(), Finalise(), and TreeSocket::SendCapabilities(). |
|
|
Maximum GECOS (real name) length.
Definition at line 275 of file configreader.h. Referenced by User::ChangeName(), Finalise(), CommandSetname::Handle(), CommandChgname::Handle(), and TreeSocket::SendCapabilities(). |
|
|
Maximum kick message length.
Definition at line 273 of file configreader.h. Referenced by InspIRCd::BuildISupport(), Finalise(), and TreeSocket::SendCapabilities(). |
|
|
Maximum number of modes per line.
Definition at line 265 of file configreader.h. Referenced by InspIRCd::BuildISupport(), irc::modestacker::GetStackedLine(), ModeParser::Process(), TreeSocket::SendCapabilities(), and TreeSocket::SendFJoins(). |
|
|
Maximum length of a quit message.
Definition at line 269 of file configreader.h. Referenced by CullList::Apply(), Finalise(), and TreeSocket::SendCapabilities(). |
|
|
Maximum topic length.
Definition at line 271 of file configreader.h. Referenced by InspIRCd::BuildISupport(), Finalise(), TreeSocket::ForceTopic(), TreeSocket::SendCapabilities(), and Channel::SetTopic(). |
|
|
Maximum nickname length.
Definition at line 261 of file configreader.h. Referenced by CommandWatch::add_watch(), UserManager::AddUser(), InspIRCd::BuildISupport(), Finalise(), CommandSanick::Handle(), CommandNicklock::Handle(), CommandWatch::remove_watch(), and TreeSocket::SendCapabilities(). |