summaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
AgeCommit message (Collapse)Author
2018-06-25Allow relative paths to be passed in --config on boot.Peter Powell
Closes #1115.
2018-06-04Add --nopid command line option (#1497).Chris Novakovic
Add a --nopid command line option, which causes a PID file not to be written to the file system regardless of the presence of the <pid> tag in the configuration file or the value of its "file" variable if it is present.
2017-12-23Get rid of InspIRCd::QuickExit.Peter Powell
This is just a thin wrapper around exit(). I don't think we really need it. While we are changing this code the setgroup/setuser code should be using EXIT_STATUS_CONFIG too.
2017-12-10Extract RFC modes from the core to core_channel and core_user.Peter Powell
2017-11-27Assume that RUSAGE_SELF is always defined.Peter Powell
This was added for Red Hat 7 which was released in 2000(!) which nobody should be using anymore.
2017-11-25Convert GenRandom to std::function.Peter Powell
2017-11-25Convert IsChannel to std::function.Peter Powell
2017-11-25Convert IsIdent to std::function.Peter Powell
2017-11-25Convert IsNick to std::function.Peter Powell
2017-11-17Fix a ton of -Wsign-conversion warnings.Peter Powell
2017-10-22Convert GetMaxFds() to size_t and deduplicate setting code.Peter Powell
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-12Merge the latest changes from insp20 into master.Peter Powell
2017-09-12Change FailedPortList to store a sockaddrs/int instead of string.Peter Powell
2017-09-12Clean up the <security:runas{user,group}> code.Peter Powell
- Get rid of unnecessary temporary values. - Remove an erroneous usage comment. - Reset errno before the call to setgroups. - Unify the two stage initialisation of g/u.
2017-09-11Move operquit out of the core and into core_user.Peter Powell
2017-09-11Fix killing elined clients on [gkz]line in some cases.Peter Powell
2017-08-26Make the build reproducible by removing time related macros.Peter Powell
The compile time on boot is not accurate as it will only change when the translation unit containing it is edited. The startup time in RPL_SERVERCREATED is a lot more useful than the compilation time. ngIRCd also implements this behaviour.
2017-03-20Move the OnCheckExemption hook out of the core.Peter Powell
2017-02-28Allow <log> tags to specify how often logs should be flushed.Peter Powell
Also use the behaviour behind this to fix #1290.
2016-09-02Update stuff for the new versioning system.Peter Powell
2016-08-17Merge insp20Attila Molnar
2016-06-17Don't exit on rehash if the pid file cannot be writtenAttila Molnar
2016-02-22Merge insp20Attila Molnar
2015-11-15Merge pull request #1103 from rburchell/master-fix-infoAttila Molnar
Some updates to INFO.
2015-11-09inspircd: Don't list individual authors on startup.Robin Burchell
We already keep track of this in /INFO, so point there instead.
2015-11-03Remove UserManager::GarbageCollect()Attila Molnar
2015-05-17Fixed a build warningThe Aviator
Just a mismatched type, improperly done cast.
2015-05-17Move code that quits all users from InspIRCd::Cleanup() to cmd_dieAttila Molnar
2015-05-17Fix incorrect iterator use leading to prematurely exiting loops when ↵Attila Molnar
quitting users while looping the local user list
2015-02-20Change all occurrences of Inspire to InspIRCdAttila Molnar
2015-01-18Specify which Extensible subclass an ExtensionItem is valid forAttila Molnar
2014-07-19Access local user list via new UserManager::GetLocalUsers() and make ↵Attila Molnar
local_users private
2014-07-19Move and rename typedef LocalUserList to UserManager::LocalListAttila Molnar
2014-06-24Change allocation of InspIRCd::Users to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::SNO to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Modules to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Logs to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-24Change allocation of InspIRCd::Modes to be physically part of the object ↵Attila Molnar
containing it using fakederef
2014-06-14Kill needless #includes in source filesAttila Molnar
2014-06-13Make the default ProtocolInterface instance part of class InspIRCdAttila Molnar
The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI
2014-06-13Change allocation of InspIRCd::Parser to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Change allocation of InspIRCd::BanCache to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Pull in bancache.h from inspircd.hAttila Molnar
2014-06-13Change allocation of InspIRCd::Threads to be physically part of the object ↵Attila Molnar
containing it
2014-06-13Change allocation of InspIRCd::stats to be physically part of the object ↵Attila Molnar
containing it While at it, remove "stats" from all field names
2014-05-23Prefix all definitions in config.h to avoid potential collisions.Peter Powell
2014-04-07Merge insp20Attila Molnar
2014-03-15Change allocation of InspIRCd::Timers to be physically part of the object ↵Attila Molnar
containing it
2014-03-14Change allocation of InspIRCd::chanlist to be physically part of the object ↵Attila Molnar
containing it