#include <config.h>

This class holds the bulk of the runtime configuration for Anope. It allows for reading new config values, accessing configuration files, and storage of the configuration data needed to run Anope.
Definition at line 280 of file config.h.
| ServerConfig::ServerConfig | ( | ) |
Construct a new ServerConfig
Definition at line 40 of file config.cpp.
References BSDefFlags, Anope::string::c_str(), Anope::casemap, CaseMap, CSDefBantype, CSDefFlags, Anope::string::empty(), Anope::string::equals_ci(), sepstream::GetToken(), Group, Anope::LastError(), LimitSessions, MaxSessionKill, NSDefFlags, Read(), Seed, SessionAutoKillExpiry, SessionIPv4CIDR, SessionIPv6CIDR, Ulines, ModeManager::UpdateDefaultMLock(), Anope::string::upper(), UsePrivmsg, UseStrictPrivMsg, and UseStrictPrivMsgString.
| bool ServerConfig::CheckOnce | ( | const Anope::string & | tag | ) | [private] |
Check that there is only one of each configuration item
Definition at line 170 of file config.cpp.
References config_data, and ConfValueEnum().
Referenced by Read().
| bool ServerConfig::ConfValue | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| int | index, | |||
| Anope::string & | result, | |||
| bool | allow_linefeeds = false | |||
| ) |
Writes 'length' chars into 'result' as a string
Definition at line 1771 of file config.cpp.
Referenced by ConfValueBool(), ConfValueInteger(), Read(), and ConfigReader::ReadValue().
| bool ServerConfig::ConfValue | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| const Anope::string & | default_value, | |||
| int | index, | |||
| Anope::string & | result, | |||
| bool | allow_linefeeds = false | |||
| ) |
Writes 'length' chars into 'result' as a string
Definition at line 1776 of file config.cpp.
References Anope::string::empty(), LOG_DEBUG, Anope::string::npos, and Anope::string::replace_all_cs().
| bool ServerConfig::ConfValueBool | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| int | index | |||
| ) |
Returns true if the value exists and has a true value, false otherwise
Definition at line 1871 of file config.cpp.
Referenced by Read(), and ConfigReader::ReadFlag().
| bool ServerConfig::ConfValueBool | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| const Anope::string & | default_value, | |||
| int | index | |||
| ) |
Returns true if the value exists and has a true value, false otherwise
Definition at line 1876 of file config.cpp.
References ConfValue(), and Anope::string::equals_ci().
| int ServerConfig::ConfValueEnum | ( | const ConfigDataHash & | target, | |
| const Anope::string & | tag | |||
| ) |
Returns the number of occurences of tag in the config file
Definition at line 1885 of file config.cpp.
Referenced by CheckOnce(), ConfigReader::Enumerate(), and Read().
| bool ServerConfig::ConfValueInteger | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| int | index, | |||
| int & | result | |||
| ) |
Tries to convert the value to an integer and write it to 'result'
Definition at line 1820 of file config.cpp.
Referenced by Read(), and ConfigReader::ReadInteger().
| bool ServerConfig::ConfValueInteger | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| const Anope::string & | var, | |||
| const Anope::string & | default_value, | |||
| int | index, | |||
| int & | result | |||
| ) |
Tries to convert the value to an integer and write it to 'result'
Definition at line 1825 of file config.cpp.
References Anope::string::c_str(), ConfValue(), Anope::string::empty(), Anope::string::end(), Anope::string::erase(), Anope::string::str(), and Anope::string::substr().
| int ServerConfig::ConfVarEnum | ( | ConfigDataHash & | target, | |
| const Anope::string & | tag, | |||
| int | index | |||
| ) |
Returns the numbers of vars inside the index'th 'tag in the config file
Definition at line 1890 of file config.cpp.
Referenced by ConfigReader::EnumerateValues().
| void ServerConfig::LoadConf | ( | ConfigurationFile & | file | ) |
Load the configuration file into 'this'. With the new config parser everything is parsed into tag/key/value at load-time rather than at read-value time.
Definition at line 1585 of file config.cpp.
References Anope::string::clear(), ConfigurationFile::Close(), config_data, Anope::string::empty(), ConfigurationFile::End(), ConfigurationFile::GetName(), Anope::string::length(), LOG_DEBUG, ConfigurationFile::Open(), Anope::string::push_back(), ConfigurationFile::Read(), and stringify().
Referenced by DoInclude(), and Read().
| void ServerConfig::Read | ( | ) |
Read the entire configuration into memory and initialize this class. All other methods should be used only by the core.
Definition at line 1373 of file config.cpp.
References anope_dynamic_static_cast(), CheckOnce(), config_data, ConfValue(), ConfValueBool(), ConfValueEnum(), ConfValueInteger(), ConfigItems::Item::datatype, ConfigItems::MultiItem::datatype, ConfigItems::Item::default_value, defines, Anope::DoTime(), DT_BOOLEAN, DT_HOSTNAME, DT_INTEGER, DT_IPADDRESS, DT_LUINTEGER, DT_NOSPACES, DT_STRING, DT_TIME, DT_UINTEGER, Anope::string::empty(), ConfigItems::MultiItem::finish_function, ValueItem::GetBool(), ValueItem::GetInteger(), ConfigurationFile::GetName(), ValueItem::GetValue(), ConfigItems::MultiItem::init_function, ConfigItems::MultiItem::items, ConfigItems::MultiItem::items_default, LoadConf(), LOG_DEBUG, ConfigItems::MultiValues, ServicesConf, ValueContainer< T >::Set(), ValueContainer< Anope::string * >::Set(), ConfigItems::Item::tag, ConfigItems::MultiItem::tag, ConfigItems::Item::val, ValidateHostname(), ValidateIP(), ValidateNoSpaces(), ConfigItems::Item::validation_function, ConfigItems::MultiItem::validation_function, ConfigItems::Item::value, and ConfigItems::Values.
Referenced by ServerConfig().
| void ServerConfig::ValidateHostname | ( | const Anope::string & | p, | |
| const Anope::string & | tag, | |||
| const Anope::string & | val | |||
| ) | const |
Definition at line 248 of file config.cpp.
References Anope::string::empty(), Anope::string::equals_ci(), and Anope::string::length().
Referenced by CommandOSConfig::Execute(), and Read().
| void ServerConfig::ValidateIP | ( | const Anope::string & | p, | |
| const Anope::string & | tag, | |||
| const Anope::string & | val, | |||
| bool | wild | |||
| ) | const |
Definition at line 196 of file config.cpp.
References Anope::string::begin(), Anope::string::empty(), and Anope::string::end().
Referenced by CommandOSConfig::Execute(), and Read().
| void ServerConfig::ValidateNoSpaces | ( | const Anope::string & | p, | |
| const Anope::string & | tag, | |||
| const Anope::string & | val | |||
| ) | const |
Definition at line 185 of file config.cpp.
References Anope::string::begin(), and Anope::string::end().
Referenced by CommandOSConfig::Execute(), and Read().
Definition at line 638 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSKill::Execute(), CommandOSChanKill::Execute(), and XLine::GetReason().
| unsigned ServerConfig::AJoinMax |
Definition at line 534 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSAJoin::DoAdd().
Definition at line 640 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSAKill::DoAdd(), CommandOSSQLine::OnAdd(), and CommandOSSNLine::OnAdd().
Definition at line 632 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSAKill::DoAdd().
Definition at line 614 of file config.h.
Referenced by ConfigItems::ConfigItems().
| time_t ServerConfig::AutokillExpiry |
Definition at line 624 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSAKill::DoAdd(), and CommandOSStats::DoStatsAkill().
| unsigned ServerConfig::BadPassLimit |
Definition at line 407 of file config.h.
Referenced by User::BadPassword(), and ConfigItems::ConfigItems().
| time_t ServerConfig::BadPassTimeout |
Definition at line 409 of file config.h.
Referenced by User::BadPassword(), and ConfigItems::ConfigItems().
Definition at line 449 of file config.h.
Referenced by ConfigItems::ConfigItems(), and ModeManager::UpdateDefaultMLock().
Definition at line 394 of file config.h.
Referenced by BotServCore::BotServCore(), ConfigItems::ConfigItems(), CommandCSSetPersist::Execute(), BotServCore::OnPostHelp(), BotServCore::OnPreHelp(), and ValidateBotServ().
| unsigned ServerConfig::BSBadWordsMax |
Definition at line 599 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandBSBadwords::DoAdd().
Definition at line 605 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSBadwords::DoAdd(), and BSKick::OnPrivmsg().
| std::set<Anope::string> ServerConfig::BSDefFlags |
Definition at line 593 of file config.h.
Referenced by ChannelInfo::ChannelInfo(), and ServerConfig().
Definition at line 607 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSSetFantasy::OnHelp(), BotServCore::OnPostHelp(), BotServCore::OnPreHelp(), BotServCore::OnPrivmsg(), and MChanstats::OnPrivmsg().
Definition at line 603 of file config.h.
Referenced by ConfigItems::ConfigItems(), and BSKick::OnPrivmsg().
| time_t ServerConfig::BSKeepData |
Definition at line 595 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSKick::Execute(), and BanData::purge().
| unsigned ServerConfig::BSMinUsers |
Definition at line 597 of file config.h.
Referenced by BotInfo::Assign(), ConfigItems::ConfigItems(), Channel::Hold(), BotServCore::OnJoinChannel(), BotServCore::OnLeaveChannel(), BotServCore::OnPostHelp(), and BotInfo::RejoinAll().
Definition at line 601 of file config.h.
Referenced by ConfigItems::ConfigItems(), BotInfo::Join(), and BotServCore::OnChannelModeSet().
Definition at line 384 of file config.h.
Referenced by ConfigItems::ConfigItems(), and ServerConfig().
| time_t ServerConfig::ChankillExpiry |
Definition at line 626 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSChanKill::Execute().
| unsigned ServerConfig::ChanLen |
Definition at line 377 of file config.h.
Referenced by ConfigItems::ConfigItems(), and IRCDProto::IsChannelValid().
Definition at line 395 of file config.h.
Referenced by ChannelInfo::ChannelInfo(), ChanServCore::ChanServCore(), ConfigItems::ConfigItems(), ModuleWebCPanel::ModuleWebCPanel(), CommandCSSetAutoOp::OnHelp(), CommandBSSetFantasy::OnHelp(), MemoServCore::OnPostHelp(), ChanServCore::OnPostHelp(), BotServCore::OnPostHelp(), ChanServCore::OnPreHelp(), BotServCore::OnPreHelp(), WebCPanel::ChanServ::Drop::OnRequest(), WebCPanel::ChanServ::Akick::OnRequest(), WebCPanel::ChanServ::Access::OnRequest(), and ValidateChanServ().
| std::vector<CommandGroup> ServerConfig::CommandGroups |
Definition at line 683 of file config.h.
Referenced by DoCommandGroups(), CommandHelp::FindGroup(), and InitCommandGroups().
This holds all the information in the config file, it's indexed by tag name to a vector of key/values.
Definition at line 290 of file config.h.
Referenced by CheckOnce(), ConfigReader::Enumerate(), ConfigReader::EnumerateValues(), CommandOSConfig::Execute(), LoadConf(), Read(), ConfigReader::ReadFlag(), ConfigReader::ReadInteger(), and ConfigReader::ReadValue().
| unsigned ServerConfig::CSAccessMax |
Definition at line 562 of file config.h.
Referenced by ConfigItems::ConfigItems(), XOPBase::DoAdd(), CommandCSAccess::DoAdd(), CommandCSFlags::DoModify(), and WebCPanel::ChanServ::Access::OnRequest().
| unsigned ServerConfig::CSAutokickMax |
Definition at line 564 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandCSAKick::DoAdd().
Definition at line 566 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CSAKick::OnCheckKick().
Definition at line 560 of file config.h.
Referenced by ChannelInfo::ChannelInfo(), ConfigItems::ConfigItems(), OnDatabaseReadMetadata(), and ServerConfig().
| std::set<Anope::string> ServerConfig::CSDefFlags |
Definition at line 550 of file config.h.
Referenced by ChannelInfo::ChannelInfo(), and ServerConfig().
| time_t ServerConfig::CSExpire |
Definition at line 554 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandCSInfo::Execute(), ChanServCore::OnPostHelp(), and ExpireCallback::Tick().
| time_t ServerConfig::CSForbidExpire |
Definition at line 558 of file config.h.
Referenced by ConfigItems::ConfigItems().
| time_t ServerConfig::CSInhabit |
Definition at line 568 of file config.h.
Referenced by ConfigItems::ConfigItems(), Channel::Hold(), and OSForbid::OnJoinChannel().
| unsigned ServerConfig::CSListMax |
Definition at line 570 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandCSList::Execute().
| unsigned ServerConfig::CSMaxReg |
Definition at line 552 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandCSSetFounder::Execute(), CommandCSRegister::Execute(), ChanServCore::OnDelCore(), and CommandCSSetSuccessor::OnHelp().
Definition at line 572 of file config.h.
Referenced by ConfigItems::ConfigItems(), and ChanServCore::OnBotPrivmsg().
| unsigned ServerConfig::CSReasonMax |
Definition at line 447 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandCSAKick::DoAdd(), CommandCSKick::Execute(), and CommandCSBan::Execute().
Definition at line 441 of file config.h.
Referenced by ChannelMode::CanSet(), ConfigItems::ConfigItems(), and ChanServCore::OnCheckModes().
Definition at line 556 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandCSSuspend::Execute().
| unsigned ServerConfig::DefSessionLimit |
Definition at line 645 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), and CommandOSSession::DoView().
Definition at line 473 of file config.h.
Referenced by ConfigItems::ConfigItems().
Definition at line 647 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSException::DoAdd().
| time_t ServerConfig::ExpireTimeout |
Definition at line 413 of file config.h.
Referenced by ConfigItems::ConfigItems().
Definition at line 681 of file config.h.
Referenced by DoFantasy(), CommandHelp::Execute(), InitFantasy(), and BotServCore::OnPrivmsg().
Definition at line 423 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSForbid::Execute(), and CommandCSSuspend::Execute().
Definition at line 396 of file config.h.
Referenced by ConfigItems::ConfigItems(), GlobalCore::GlobalCore(), and GlobalCore::OnPreHelp().
Definition at line 612 of file config.h.
Referenced by ConfigItems::ConfigItems(), GlobalCore::OnNewServer(), GlobalCore::OnRestart(), GlobalCore::OnShutdown(), and ValidateGlobalOnCycle().
Definition at line 618 of file config.h.
Referenced by ConfigItems::ConfigItems(), GlobalCore::OnRestart(), and GlobalCore::OnShutdown().
Definition at line 620 of file config.h.
Referenced by ConfigItems::ConfigItems(), and GlobalCore::OnNewServer().
Definition at line 381 of file config.h.
Referenced by ConfigItems::ConfigItems(), and ServerConfig().
Definition at line 453 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandHelp::Execute().
Definition at line 610 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Message::Stats::Run().
| unsigned ServerConfig::HostLen |
Definition at line 375 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSBot::DoAdd(), CommandBSBot::DoChange(), CommandHSSetAll::Execute(), CommandHSSet::Execute(), CommandHSRequest::Execute(), and IRCDProto::IsHostValid().
Definition at line 397 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandHSReject::Execute(), CommandHSActivate::Execute(), HostServCore::HostServCore(), ModuleWebCPanel::ModuleWebCPanel(), HostServCore::OnPreHelp(), WebCPanel::HostServ::Request::OnRequest(), and req_send_memos().
Definition at line 421 of file config.h.
Referenced by DBPlain::BackupDatabase(), DBFlatFile::BackupDatabase(), and ConfigItems::ConfigItems().
Definition at line 634 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSSNLine::OnAdd().
Definition at line 636 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSSQLine::OnAdd().
Definition at line 489 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Language::InitLanguages().
Definition at line 643 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSException::Execute(), CommandOSSession::Execute(), OSSession::OnPreUserLogoff(), OSSession::OnUserConnect(), ServerConfig(), and ValidateLimitSessions().
Below here is a list of variables which contain the config files values
Definition at line 359 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Uplink::Connect().
| std::vector<LogInfo *> ServerConfig::LogInfos |
Definition at line 460 of file config.h.
Referenced by DoLogs(), DoneLogs(), InitLogs(), and Log::~Log().
| time_t ServerConfig::MailDelay |
Definition at line 471 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Mail::Send().
Definition at line 477 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSSetEmail::SendConfirmMail().
Definition at line 477 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSSetEmail::SendConfirmMail().
Definition at line 478 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendMemoMail().
Definition at line 478 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendMemoMail().
Definition at line 475 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendRegmail().
Definition at line 475 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendRegmail().
Definition at line 476 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendResetEmail().
Definition at line 476 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SendResetEmail().
| unsigned ServerConfig::MaxSessionKill |
Definition at line 649 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), OSDefcon::OnUserConnect(), and ServerConfig().
| unsigned ServerConfig::MaxSessionLimit |
Definition at line 651 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSException::DoAdd().
Definition at line 400 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandMSSet::DoNotify(), MemoListCallback::DoRead(), MemoServCore::MemoServCore(), ModuleWebCPanel::ModuleWebCPanel(), MemoServCore::OnPostHelp(), MemoServCore::OnPreHelp(), WebCPanel::MemoServ::Memos::OnRequest(), and MyMemoServService::Send().
Definition at line 437 of file config.h.
Referenced by ConfigItems::ConfigItems(), and ModeManager::UpdateDefaultMLock().
| std::list<Anope::string> ServerConfig::ModulesAutoLoad |
Definition at line 665 of file config.h.
Referenced by DoModule(), DoneModules(), and Anope::Init().
Definition at line 392 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Message::MOTD::Run().
| unsigned ServerConfig::MSMaxMemos |
Definition at line 575 of file config.h.
Referenced by ChannelInfo::ChannelInfo(), ConfigItems::ConfigItems(), CommandMSSet::DoLimit(), NickCore::NickCore(), and CommandMSSet::OnHelp().
| unsigned ServerConfig::MSMemoReceipt |
Definition at line 581 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandMSRSend::Execute(), and MSRSend::MSRSend().
Definition at line 579 of file config.h.
Referenced by ConfigItems::ConfigItems().
| time_t ServerConfig::MSSendDelay |
Definition at line 577 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandMSSend::Execute(), CommandMSRSend::Execute(), CommandHSRequest::Execute(), and MyMemoServService::Send().
| std::list<OperType *> ServerConfig::MyOperTypes |
Definition at line 676 of file config.h.
Referenced by DoOper(), DoOperType(), MyXMLRPCEvent::DoOperType(), OperType::Find(), and InitOperTypes().
Definition at line 369 of file config.h.
Referenced by ConfigItems::ConfigItems(), DNSBLResolver::OnLookupComplete(), ModuleProxyScan::OnReload(), CommandNSSetEmail::SendConfirmMail(), SendMemoMail(), SendRegmail(), and SendResetEmail().
| unsigned ServerConfig::NewsCount |
Definition at line 435 of file config.h.
Referenced by ConfigItems::ConfigItems(), OSNews::DisplayNews(), CommandOSOperNews::OnHelp(), and CommandOSLogonNews::OnHelp().
| unsigned ServerConfig::NickLen |
Definition at line 371 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSBot::DoAdd(), CommandBSBot::DoChange(), CommandOSSVSNick::Execute(), CommandSeen::Execute(), and IRCDMessage005::Run().
| unsigned ServerConfig::NickRegDelay |
Definition at line 433 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSRegister::Execute().
Definition at line 398 of file config.h.
Referenced by User::Collide(), CommandNSSetPrivate::CommandNSSetPrivate(), ConfigItems::ConfigItems(), CommandNSUpdate::Execute(), CommandNSRegister::Execute(), CommandNSGList::Execute(), CommandNSGroup::Execute(), CommandNSAccess::Execute(), ModuleWebCPanel::ModuleWebCPanel(), NickServCore::NickServCore(), CommandNSSASetSecure::OnHelp(), CommandNSSetSecure::OnHelp(), CommandNSSASetPrivate::OnHelp(), CommandNSSetPrivate::OnHelp(), CommandNSSASetKill::OnHelp(), CommandNSSetKill::OnHelp(), CommandNSSASetHide::OnHelp(), CommandNSSetHide::OnHelp(), CommandNSSASet::OnHelp(), CommandNSRegister::OnHelp(), CommandNSCert::OnHelp(), CommandNSAccess::OnHelp(), CommandCSRegister::OnHelp(), NickServCore::OnNickIdentify(), NickServCore::OnPostHelp(), NickServCore::OnPreHelp(), WebCPanel::NickServ::Cert::OnRequest(), WebCPanel::Confirm::OnRequest(), WebCPanel::NickServ::Access::OnRequest(), CommandNSSetHide::Run(), MyNickServService::Validate(), and ValidateNickServ().
Definition at line 403 of file config.h.
Referenced by DBPlain::BackupDatabase(), DBFlatFile::BackupDatabase(), ConfigItems::ConfigItems(), and DBFlatFile::OnNotify().
Definition at line 439 of file config.h.
Referenced by ChannelMode::CanSet(), and ConfigItems::ConfigItems().
Definition at line 455 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSRegister::Execute(), CommandNSConfirm::Execute(), User::Identify(), MyNickServService::Login(), NSGroup::NSGroup(), NSRecover::NSRecover(), NickServCore::OnNickIdentify(), NickServCore::OnPreHelp(), NSGroupRequest::OnSuccess(), NickServCore::OnUserConnect(), NickServCore::OnUserNickChange(), IRCDMessageEncap::Run(), IRCDMessageMetadata::Run(), CommandNSSetKill::Run(), CommandNSSetDisplay::Run(), and MyNickServService::Validate().
| unsigned ServerConfig::NSAccessMax |
Definition at line 510 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSCert::DoAdd(), and CommandNSAccess::DoAdd().
Definition at line 532 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSRegister::Execute(), SQLAuthenticationResult::OnResult(), and IdentifyInterface::OnResult().
Definition at line 483 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSSetKill::Run().
Definition at line 506 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSSetEmail::Run().
| std::set<Anope::string> ServerConfig::NSDefFlags |
Definition at line 487 of file config.h.
Referenced by NickCore::NickCore(), Server::Notice(), User::SendMessage(), IRCDProto::SendMessageInternal(), and ServerConfig().
Definition at line 491 of file config.h.
Referenced by ConfigItems::ConfigItems(), NickCore::NickCore(), and Language::Translate().
Definition at line 514 of file config.h.
Referenced by ConfigItems::ConfigItems().
Definition at line 512 of file config.h.
Referenced by ConfigItems::ConfigItems().
| time_t ServerConfig::NSExpire |
Definition at line 498 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSInfo::Execute(), CommandNSGList::Execute(), NickServCore::OnPostHelp(), and ExpireCallback::Tick().
Definition at line 504 of file config.h.
Referenced by CommandNSRegister::CommandNSRegister(), ConfigItems::ConfigItems(), CommandNSRegister::Execute(), CommandNSRegister::OnHelp(), NickServCore::OnNickIdentify(), NSIdentifyLDAP::OnReload(), WebCPanel::Register::OnRequest(), and CommandNSSetEmail::Run().
Definition at line 481 of file config.h.
Referenced by User::Collide(), ConfigItems::ConfigItems(), CommandNSRegister::Execute(), and CommandNSGroup::Execute().
Definition at line 545 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Server::~Server().
| time_t ServerConfig::NSKill |
Definition at line 537 of file config.h.
Referenced by ConfigItems::ConfigItems(), and MyNickServService::Validate().
| time_t ServerConfig::NSKillQuick |
Definition at line 536 of file config.h.
Referenced by ConfigItems::ConfigItems(), and MyNickServService::Validate().
| unsigned ServerConfig::NSListMax |
Definition at line 518 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandHSWaiting::DoList(), CommandNSList::Execute(), and CommandHSList::Execute().
| unsigned ServerConfig::NSMaxAliases |
Definition at line 508 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSGroup::Execute().
Definition at line 530 of file config.h.
Referenced by ConfigItems::ConfigItems(), and NickServCore::OnNickIdentify().
Definition at line 539 of file config.h.
Referenced by ConfigItems::ConfigItems(), and NickServCore::OnNickIdentify().
Definition at line 485 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSGroup::Execute().
| time_t ServerConfig::NSRegDelay |
Definition at line 494 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSRegister::Execute(), and CommandNSGroup::Execute().
Definition at line 524 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSResend::Execute(), CommandNSRegister::Execute(), NSRegister::NSRegister(), CommandNSResend::OnHelp(), CommandNSResend::OnServHelp(), and ValidateEmailReg().
Definition at line 516 of file config.h.
Referenced by ConfigItems::ConfigItems(), NickAlias::OnCancel(), UnrealIRCdProto::SendSVSHold(), InspIRCd12Proto::SendSVSHold(), InspIRCdProto::SendSVSHold(), HybridProto::SendSVSHold(), and BahamutIRCdProto::SendSVSHold().
| time_t ServerConfig::NSResendDelay |
Definition at line 496 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSResend::Execute().
Definition at line 541 of file config.h.
Referenced by ConfigItems::ConfigItems(), NSRecover::OnJoinChannel(), NSRecoverRequest::OnSuccess(), and NSRecover::OnUserNickChange().
| bool ServerConfig::NSSASL |
Definition at line 543 of file config.h.
Referenced by ConfigItems::ConfigItems(), IRCDMessageSASL::Run(), and IRCDMessageEncap::Run().
Definition at line 520 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSForbid::Execute(), CommandNSSuspend::Execute(), CommandNSSASetPassword::Execute(), CommandNSGetPass::Execute(), CommandNSDrop::Execute(), CommandNSAccess::Execute(), and CommandNSSetEmail::Run().
Definition at line 522 of file config.h.
Referenced by ConfigItems::ConfigItems().
Definition at line 500 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSSuspend::Execute().
Definition at line 502 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSRegister::Execute(), CommandNSInfo::Execute(), NickServCore::OnNickIdentify(), and ExpireCallback::Tick().
Definition at line 526 of file config.h.
Referenced by ConfigItems::ConfigItems(), and NickServCore::OnUserConnect().
Definition at line 671 of file config.h.
Referenced by ConfigItems::ConfigItems(), Anope::Init(), ProtoHybrid::ProtoHybrid(), ProtoInspIRCd::ProtoInspIRCd(), UnrealIRCdProto::SendConnect(), UnrealIRCdProto::SendServer(), Servers::TS6_SID_Retrieve(), and Servers::TS6_UID_Retrieve().
| std::vector<Oper *> ServerConfig::Opers |
Definition at line 678 of file config.h.
Referenced by DoneOpers(), DoOper(), CommandNSRegister::Execute(), CommandNSGroup::Execute(), Oper::Find(), InitOpers(), SQLOperResult::OnResult(), req_send_memos(), and Message::Stats::Run().
Definition at line 399 of file config.h.
Referenced by OSSession::AddSession(), ProxyConnect::Ban(), CommandOSLogin::CommandOSLogin(), CommandOSLogout::CommandOSLogout(), ConfigItems::ConfigItems(), CommandOSNOOP::Execute(), CommandOSKill::Execute(), ModuleWebCPanel::ModuleWebCPanel(), OperServCore::OnBotPrivmsg(), CommandOSSet::OnHelp(), CommandOSException::OnHelp(), DNSBLResolver::OnLookupComplete(), OperServCore::OnPreHelp(), WebCPanel::OperServ::Akill::OnRequest(), OSDefcon::OnUserConnect(), OSNOOP::OnUserModeSet(), OperServCore::OperServCore(), UnrealIRCdProto::SendAkillDel(), UnrealIRCdProto::SendSZLineDel(), and ValidateOperServ().
Definition at line 662 of file config.h.
Referenced by ConfigItems::ConfigItems(), and OperServCore::OnBotPrivmsg().
| unsigned ServerConfig::PassLen |
Definition at line 387 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSSASetPassword::Execute(), CommandNSSetPassword::Execute(), and CommandNSRegister::Execute().
Definition at line 390 of file config.h.
Referenced by ConfigItems::ConfigItems(), remove_pidfile(), and write_pidfile().
| time_t ServerConfig::ReadTimeout |
Definition at line 415 of file config.h.
Referenced by ConfigItems::ConfigItems(), and SocketEngine::Process().
Definition at line 457 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSAKill::DoAdd(), XLine::InitRegex(), Anope::Match(), CommandOSSQLine::OnAdd(), CommandOSSNLine::OnAdd(), CommandOSSQLine::OnHelp(), CommandOSSNLine::OnHelp(), CommandOSUserList::OnHelp(), CommandOSChanList::OnHelp(), CommandOSIgnore::OnHelp(), CommandOSForbid::OnHelp(), CommandOSAKill::OnHelp(), CommandNSList::OnHelp(), CommandCSList::OnHelp(), and IRCDMessageCapab::Run().
Definition at line 469 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandNSResetPass::Execute().
Definition at line 616 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSRegister::Execute(), and CommandNSGroup::Execute().
Definition at line 451 of file config.h.
Referenced by ConfigItems::ConfigItems(), and UplinkSocket::~UplinkSocket().
| unsigned long ServerConfig::Seed |
Definition at line 668 of file config.h.
Referenced by ConfigItems::ConfigItems(), Anope::Init(), and ServerConfig().
Definition at line 467 of file config.h.
Referenced by ConfigItems::ConfigItems(), and Mail::Send().
Definition at line 465 of file config.h.
Referenced by ConfigItems::ConfigItems().
Definition at line 366 of file config.h.
Referenced by ConfigItems::ConfigItems(), Anope::Init(), and Message::Whois::Run().
Definition at line 364 of file config.h.
Referenced by User::BadPassword(), ConfigItems::ConfigItems(), Anope::Init(), User::Kill(), CommandOSSQLine::OnAdd(), CommandOSSNLine::OnAdd(), Message::Whois::Run(), Message::Version::Run(), Message::Time::Run(), Message::Privmsg::Run(), Message::MOTD::Run(), IRCDMessageRSQuit::Run(), IRCDMessageSID::Run(), IRCDMessageServer::Run(), InspIRCd12Proto::SendConnect(), UnrealIRCdProto::SendSVSHold(), and UnrealIRCdProto::SendSVSHoldDel().
Definition at line 653 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), OSDefcon::OnUserConnect(), and ServerConfig().
| unsigned ServerConfig::SessionIPv4CIDR |
Definition at line 655 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), MySessionService::FindSession(), and ServerConfig().
| unsigned ServerConfig::SessionIPv6CIDR |
Definition at line 656 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), MySessionService::FindSession(), and ServerConfig().
Definition at line 660 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), and OSDefcon::OnUserConnect().
Definition at line 658 of file config.h.
Referenced by OSSession::AddSession(), ConfigItems::ConfigItems(), and OSDefcon::OnUserConnect().
| time_t ServerConfig::SNLineExpiry |
Definition at line 628 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSStats::DoStatsAkill(), and CommandOSSNLine::OnAdd().
| time_t ServerConfig::SQLineExpiry |
Definition at line 630 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandOSStats::DoStatsAkill(), and CommandOSSQLine::OnAdd().
Definition at line 405 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSSASetPassword::Execute(), CommandNSSetPassword::Execute(), and CommandNSRegister::Execute().
Definition at line 622 of file config.h.
Referenced by ConfigItems::ConfigItems(), and CommandOSSet::DoSetSuperAdmin().
| time_t ServerConfig::TimeoutCheck |
Definition at line 419 of file config.h.
Referenced by ConfigItems::ConfigItems(), and main().
| std::list<Anope::string> ServerConfig::Ulines |
Definition at line 673 of file config.h.
Referenced by Server::IsULined(), and ServerConfig().
| time_t ServerConfig::UpdateTimeout |
Definition at line 411 of file config.h.
Referenced by DBMySQL::CheckSQL(), ConfigItems::ConfigItems(), and main().
| std::vector<Uplink *> ServerConfig::Uplinks |
Definition at line 361 of file config.h.
Referenced by Uplink::Connect(), DoneUplinks(), DoUplink(), InitUplinks(), main(), UplinkSocket::OnConnect(), UplinkSocket::OnError(), Message::Stats::Run(), UnrealIRCdProto::SendConnect(), RatboxProto::SendConnect(), PlexusProto::SendConnect(), ngIRCdProto::SendConnect(), InspIRCdProto::SendConnect(), HybridProto::SendConnect(), BahamutIRCdProto::SendConnect(), InspIRCd12Proto::SendServer(), ReconnectTimer::Tick(), and UplinkSocket::~UplinkSocket().
Definition at line 463 of file config.h.
Referenced by ConfigItems::ConfigItems(), NSResetPass::NSResetPass(), Mail::Send(), and ValidateMail().
Definition at line 425 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandNSSetMessage::OnServHelp(), CommandNSSetMessage::Run(), User::SendMessage(), and ServerConfig().
Definition at line 380 of file config.h.
Referenced by ConfigItems::ConfigItems().
| unsigned ServerConfig::UserLen |
Definition at line 373 of file config.h.
Referenced by ConfigItems::ConfigItems(), CommandBSBot::DoAdd(), CommandBSBot::DoChange(), CommandHSRequest::Execute(), and IRCDProto::IsIdentValid().
Definition at line 443 of file config.h.
Referenced by ConfigItems::ConfigItems(), ProtoUnreal::OnChannelCreate(), ProtoInspIRCd::OnChannelCreate(), ProtoUnreal::OnChanRegistered(), ProtoInspIRCd::OnChanRegistered(), ProtoUnreal::OnDelChan(), ProtoInspIRCd::OnDelChan(), ProtoUnreal::OnMLock(), ProtoInspIRCd::OnMLock(), ProtoUnreal::OnUnMLock(), and ProtoInspIRCd::OnUnMLock().
Definition at line 445 of file config.h.
Referenced by ConfigItems::ConfigItems(), ProtoInspIRCd::OnChannelCreate(), ProtoInspIRCd::OnChanRegistered(), ProtoInspIRCd::OnDelChan(), and IRCDMessageCapab::Run().
Definition at line 427 of file config.h.
Referenced by ConfigItems::ConfigItems(), Message::Privmsg::Run(), and ServerConfig().
Definition at line 430 of file config.h.
Referenced by CommandNSSetPrivate::CommandNSSetPrivate(), CommandCSLevels::DoDisable(), MemoListCallback::DoRead(), CommandCSLevels::DoSet(), CommandNSRegister::Execute(), CommandNSGroup::Execute(), CommandNSAccess::Execute(), CommandNSSASet::OnHelp(), CommandNSSet::OnHelp(), CommandMSSet::OnHelp(), CommandCSVOP::OnHelp(), CommandCSSOP::OnHelp(), CommandCSHOP::OnHelp(), CommandCSAOP::OnHelp(), CommandCSQOP::OnHelp(), CommandCSSetPrivate::OnHelp(), CommandCSSASet::OnHelp(), CommandCSSet::OnHelp(), CommandCSRegister::OnHelp(), CommandCSAccess::OnHelp(), CommandBSSet::OnHelp(), CommandBSKick::OnHelp(), CommandBSBadwords::OnHelp(), NickServCore::OnNickIdentify(), MemoServCore::OnPostHelp(), NickServCore::OnPreHelp(), ChanServCore::OnPreHelp(), BotServCore::OnPreHelp(), Command::OnSyntaxError(), RunCommand(), MyMemoServService::Send(), Command::SendSyntax(), ServerConfig(), and MyNickServService::Validate().
Definition at line 584 of file config.h.
Referenced by ConfigItems::ConfigItems(), and IRCDProto::IsHostValid().
Definition at line 588 of file config.h.
Referenced by ConfigItems::ConfigItems(), and IRCDProto::IsHostValid().
Definition at line 586 of file config.h.
Referenced by ConfigItems::ConfigItems(), and IRCDProto::IsHostValid().
| time_t ServerConfig::WarningTimeout |
Definition at line 417 of file config.h.
Referenced by ConfigItems::ConfigItems().
1.7.1