summaryrefslogtreecommitdiff
path: root/src/configreader.cpp
AgeCommit message (Collapse)Author
2018-07-30Replace most usages of "GECOS" with "real" or "real name".Peter Powell
2018-07-10Switch <server:name> validation to use InspIRCd::IsHost.Peter Powell
2018-07-10Add a silent option to <options:restrictbannedusers>.Peter Powell
This is useful when dealing with spambots that switch method when they receive ERR_CANNOTSENDTOCHAN.
2018-04-22Always process MOTD formatting escape codes.Peter Powell
The options for disabling these were added to keep compatibility with previous 2.0 releases and are not needed any more.
2018-04-17Tell the rehasher if an exception is thrown by a module on rehash.Peter Powell
2018-04-16Add ConfigTag::getUInt for reading unsigned config values.Peter Powell
2018-04-16Remove the default value in ConfigTag::get{Duration,Float,Int}.Peter Powell
2018-03-31Move <security:announceinvites> to core_channel.Peter Powell
2018-03-25Separate secret and private channels on whois for non-opers (#1447)Dylan Frank
Separate secret and private channels on WHOIS for all users. - Move the config parsing from the core to core_whois. - Replace <security:operspywhois> with an oper privilege. - Introduce <options:splitwhois> to split WHOIS channel lists. Closes #969.
2017-12-22Rename <security:hidewhois> to <security:hideserver>.Peter Powell
The previous name was horrible and didn't describe what the setting actually does.
2017-12-10Extract RFC modes from the core to core_channel and core_user.Peter Powell
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-11-09Allow spaces in the network name now it doesn't cause problems.Peter Powell
This will not cause any compatibility issues as we do not rely on this attribute internally.
2017-11-06Fix an unhandled exception crash when rehashing modules.Peter Powell
Previously we used FOREACH_MOD to call OnRehash which handled any thrown exceptions. When we switched to ReadConfig this stopped being the case. This bug was introduced in c202dea024.
2017-10-18Add a constructor to OperInfo and use it to set the type name.Peter Powell
2017-10-18Ignore <module> tags for modules that are already loaded.Peter Powell
This allows us to do user friendly things like loading the alias module in the example alias files.
2017-10-17Clean up the command disabling logic.Peter Powell
- Read the disabled command list in ApplyDisabledCommands() instead of storing it in a global which is only accessed on rehash. - Write debug messages to the log when disabling commands. - Use irc::spacesepstream instead of std::stringstream.
2017-10-15Clean up the initialization of ConnectClass and ServerConfig.attilamolnar
2017-10-05Fix the casemap name not being copied to the new ServerConfig.Peter Powell
2017-09-18Convert Disabled[CU]Modes to use a bitset instead of a char array.Peter Powell
2017-09-18Add ModeParser::IsModeChar to standardise mode validation.Peter Powell
2017-09-12Change FailedPortList to store a sockaddrs/int instead of string.Peter Powell
2017-09-08Implement support for configurable casemapping & default to ASCII.Peter Powell
2017-09-03Convert a bunch of time-related config options to getDuration.Peter Powell
2017-09-03Move <dns:timeout> out of the core.Peter Powell
2017-09-03Add a ConfigTag* parameter to the ServerPaths constructor.Peter Powell
This is used to directly read the settings from the config tag like how ServerLimits works.
2017-08-27Match against core_*.so when looking for core modules.Peter Powell
2017-08-13Change the maximum nick/user size to match other implementations.Peter Powell
2017-07-30Fix the server failing to rehash when <server:name> is unset.Peter Powell
2017-07-30Fix exceptions not having a line ending when appending to errmsg.Peter Powell
2016-12-08Store config values in a map instead of a unique vector of pairs.Peter Powell
2016-10-25Allow classes to take a port range.Peter Powell
2016-09-02Bump version to 3.0 in comments and messagesAttila Molnar
2016-08-22Add stdalgo::string::equalsci and use it instead of irc::string for ↵Attila Molnar
case-insensitive comparison
2016-08-17Merge insp20Attila Molnar
2016-06-17Don't exit on rehash if the pid file cannot be writtenAttila Molnar
2016-03-01Send NOTICEs that can go to both local and remote users with ↵Attila Molnar
User::WriteRemoteNotice()
2016-02-25Remove unnecessary std::string::c_str() callsAttila Molnar
2016-02-25Convert WriteNumeric() calls to pass the parameters of the numeric as method ↵Attila Molnar
parameters
2016-02-25Don't show snotices for kills from ulined clientsAdam
2015-12-28Fix some whitespace issuesAttila Molnar
2015-12-06Remove <options:ircumsgprefix> entirelyAttila Molnar
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