summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2015-11-02Move ServerConfig::InvBypassModes into core_channelAttila Molnar
2015-06-04Expand module names in ServerConfig::ApplyModules()Attila Molnar
2015-04-20Merge insp20Attila Molnar
2015-03-21Rebuild clone counts on rehashAdam
2015-01-19Don't bind ports after an unsuccessful rehashAttila Molnar
2015-01-12Fix harmless uninitialized variable usage on startup if the config is incorrectAttila Molnar
2014-12-09Pass the empty tag to Limits when constructing a ServerConfig, remove ↵Attila Molnar
default ServerLimits constructor
2014-12-09Add ServerLimits constructor that reads limits from a ConfigTag and use itAttila Molnar
2014-12-09Initialize ServerConfig::EmptyTag using the init listAttila Molnar
2014-10-27Merge insp20Attila Molnar
2014-10-13Avoid calling methods on NULL pointers wherever possible.Peter Powell
The trick we use to allow this is undefined behaviour and is not liked by LLVM. We should stop using it but it has the potential to break to many things for a minor release.
2014-09-10Remove listmode hiding support from the coreAttila Molnar
This is now handled by m_hidelist
2014-06-17Update the description field in the Server object representing the local ↵Attila Molnar
server on rehash
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Add CommandParser::GetCommands() and typedef CommandMap and use it instead ↵Attila Molnar
of directly accessing cmdlist
2014-06-13Use CommandParser::GetHandler() in ServerConfig::ApplyDisabledCommands()Attila Molnar
2014-06-07Change the number reported by SocketEngine::GetMaxFds() to be informalAttila Molnar
Do not exit if we can't determine it
2014-05-26Switch to std::string::compare() from substr() in a couple of placesAttila Molnar
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-11Kill <channels> in favour of <connect:maxchans> and <oper:maxchans>.Peter Powell
Remove channels/high-join-limit privilege
2014-04-07Merge insp20Attila Molnar
2014-03-08Make the maximum hostname length configurable in the config.Peter Powell
2014-03-07Move admin settings into core_infoAttila Molnar
2014-03-07Move {prefix|suffix|fixed}{quit|part} into core_userAttila Molnar
2014-03-07Read the die and restart password and their hash type on demandAttila Molnar
2014-03-05Load core_*.so instead of cmd_*.soAttila Molnar
2014-03-01Fix NULL dereference on rehash when there is a fatal error in the ↵Attila Molnar
configuration of connect classes Fixes issue #780 reported by @JDowny
2014-02-08Change all socketengine methods to be staticAttila Molnar
2014-02-08Change SocketEngine functions that do not require an instance to be staticAttila Molnar
2014-01-21Add m_starttls and remove it from m_ssl_gnutls, which allows it to work with ↵Adam
both openssl and gnutls
2014-01-08Read uline state in spanningtree; remove ConfigReader::ulinesAttila Molnar
2013-12-18Add m_showfile, remove cmd_rulesAttila Molnar
2013-12-15Move stuff around a bit:Peter Powell
- Create FileSystem class: * Move ServerConfig::CleanFilename to FileSystem::GetFileName and rewrite. * Move ServerConfig::ExpandPath to FileSystem. * Move ServerConfig::FileExists to FileSystem. * Move ServerConfig::StartsWithWindowsDriveLetter to FileSystem. - Move FileReader to fileutils.cpp and fix documentation. - Move UserManager::DoBackgroundUserStuff to usermanager.cpp.
2013-11-21Fix a few issuesattilamolnar
- Rehash notices - Modes in CAPAB - GetTargetAndAction() not being static in m_callerid - Loading custom configuration files using --config. (@SaberUK) - ServerConfig::Read not using std::endl. (@SaberUK) - Out of date comments in opers.conf.example, issue #624
2013-11-12Use WriteNumeric() everywhere we send numerics and include the user's nick ↵Adam
automatically
2013-08-30Remove ModuleManager::GetAllModuleNames(), use GetModules() insteadattilamolnar
2013-08-30Replace OnRehash() with ReadConfig() that is called on boot, on module load ↵attilamolnar
and on rehash This eliminates the need for calling OnRehash() in init()
2013-08-13Store oper types and opers in separate containersattilamolnar
2013-08-12Add <path> keys for all of the compile-time paths.Peter Powell
Also, make all paths in the config relative to their associated directory. This reverts a change in 2.0 which turned out to be a terrible idea, especially for system-wide installations.
2013-08-10Require privs given on initial join to be in <options:defaultmodes>.Peter Powell
2013-08-10Rename <options:moronbanner> to <options:xlinemessage>.Peter Powell
This name is more descriptive of what is actually is used for.
2013-08-10Replace range() with min and max arguments on getInt().Peter Powell
2013-08-10Prevent servers from ulining themselves.Peter Powell
Almost every single case I have seen where this has been done has been an accident.
2013-08-10Change the default for <security:customversion> to an empty string.Peter Powell
RFC 1459 says this field is for comments about the version. If the operator has no comments then we should not show any.
2013-08-10Warn if the server has no <bind> blocks.Peter Powell
2013-08-10Use an example server name if <server:name> is not defined.Peter Powell
2013-08-10Rename <connect:nouserdns> to <connect:resolvehostnames>.Peter Powell
This name is more descriptive and avoids a double negative which could make the name of this setting unclear to non-native speakers.
2013-08-09Move host cycle logic into m_hostcycleattilamolnar
2013-08-04Change the syntax of FOREACH macros to be less dumb.Adam
2013-07-19Seperate ModeReference into ChanModeReference and UserModeReferenceattilamolnar