aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* Fix not expanding <pid:file> correctly.Gravatar Peter Powell2019-07-031-3/+1
|
* Deduplicate dirent.h inclusion.Gravatar Peter Powell2019-06-201-1/+0
|
* Ignore SIGUSR1 and SIGUSR2 by default.Gravatar Peter Powell2019-05-301-2/+3
| | | | | This stops users from accidentally killing their IRC server if they forget to load the sslrehashsignal module.
* Quit users during cleanup instead of when /DIE is executed.Gravatar Peter Powell2019-02-051-0/+6
|
* Delete the old broken test suite.Gravatar Peter Powell2019-02-051-26/+0
| | | | | | This doesn't work properly and is disabled in both debug & release builds. It will be resurrected with a proper unit testing framework in the future.
* Move the <disabled> tag out of the core to a new module.Gravatar Peter Powell2019-01-241-1/+0
|
* Add an option for changing the allowed server clock drift.Gravatar Peter Powell2018-12-041-7/+8
|
* Implement IRCv3 message tag support.Gravatar Peter Powell2018-08-131-0/+10
| | | | Co-authored-by: Attila Molnar <attilamolnar@hush.com>
* Remove the 'debug' snotice character.Gravatar Peter Powell2018-08-071-2/+2
|
* Allow relative paths to be passed in --config on boot.Gravatar Peter Powell2018-06-251-1/+10
| | | | Closes #1115.
* Add --nopid command line option (#1497).Gravatar Chris Novakovic2018-06-041-2/+10
| | | | | | 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.
* Get rid of InspIRCd::QuickExit.Gravatar Peter Powell2017-12-231-13/+8
| | | | | | | | 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.
* Extract RFC modes from the core to core_channel and core_user.Gravatar Peter Powell2017-12-101-1/+0
|
* Assume that RUSAGE_SELF is always defined.Gravatar Peter Powell2017-11-271-6/+0
| | | | | This was added for Red Hat 7 which was released in 2000(!) which nobody should be using anymore.
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-1/+1
|
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-1/+1
|
* Convert IsIdent to std::function.Gravatar Peter Powell2017-11-251-1/+1
|
* Convert IsNick to std::function.Gravatar Peter Powell2017-11-251-1/+1
|
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
|
* Convert GetMaxFds() to size_t and deduplicate setting code.Gravatar Peter Powell2017-10-221-1/+1
|
* Clean up the command disabling logic.Gravatar Peter Powell2017-10-171-1/+1
| | | | | | | - 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.
* Merge the latest changes from insp20 into master.Gravatar Peter Powell2017-10-121-0/+7
|\
| * Fix killing elined clients on [gkz]line in some cases.Gravatar Peter Powell2017-09-111-0/+5
| |
* | Change FailedPortList to store a sockaddrs/int instead of string.Gravatar Peter Powell2017-09-121-1/+1
| |
* | Clean up the <security:runas{user,group}> code.Gravatar Peter Powell2017-09-121-27/+12
| | | | | | | | | | | | | | - 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.
* | Move operquit out of the core and into core_user.Gravatar Peter Powell2017-09-111-3/+0
| |
* | Make the build reproducible by removing time related macros.Gravatar Peter Powell2017-08-261-1/+1
| | | | | | | | | | | | | | | | 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.
* | Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-2/+1
| |
* | Allow <log> tags to specify how often logs should be flushed.Gravatar Peter Powell2017-02-281-1/+1
| | | | | | | | Also use the behaviour behind this to fix #1290.
* | Update stuff for the new versioning system.Gravatar Peter Powell2016-09-021-1/+1
| |
* | Merge insp20Gravatar Attila Molnar2016-08-171-4/+6
|\|
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-171-5/+7
| |
* | Merge insp20Gravatar Attila Molnar2016-02-221-2/+2
|\|
| * Fixed a build warningGravatar The Aviator2015-05-171-2/+2
| | | | | | | | Just a mismatched type, improperly done cast.
* | Merge pull request #1103 from rburchell/master-fix-infoGravatar Attila Molnar2015-11-151-6/+1
|\ \ | | | | | | Some updates to INFO.
| * | inspircd: Don't list individual authors on startup.Gravatar Robin Burchell2015-11-091-6/+1
| | | | | | | | | | | | We already keep track of this in /INFO, so point there instead.
* | | Remove UserManager::GarbageCollect()Gravatar Attila Molnar2015-11-031-3/+0
|/ /
* | Move code that quits all users from InspIRCd::Cleanup() to cmd_dieGravatar Attila Molnar2015-05-171-5/+0
| |
* | Fix incorrect iterator use leading to prematurely exiting loops when ↵Gravatar Attila Molnar2015-05-171-2/+2
| | | | | | | | quitting users while looping the local user list
* | Change all occurrences of Inspire to InspIRCdGravatar Attila Molnar2015-02-201-1/+1
| |
* | Specify which Extensible subclass an ExtensionItem is valid forGravatar Attila Molnar2015-01-181-1/+1
| |
* | Access local user list via new UserManager::GetLocalUsers() and make ↵Gravatar Attila Molnar2014-07-191-2/+2
| | | | | | | | local_users private
* | Move and rename typedef LocalUserList to UserManager::LocalListGravatar Attila Molnar2014-07-191-2/+2
| |
* | Change allocation of InspIRCd::Users to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-5/+0
| | | | | | | | containing it using fakederef
* | Change allocation of InspIRCd::SNO to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-3/+0
| | | | | | | | containing it using fakederef
* | Change allocation of InspIRCd::Modules to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-3/+0
| | | | | | | | containing it using fakederef
* | Change allocation of InspIRCd::Logs to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-5/+0
| | | | | | | | containing it using fakederef
* | Change allocation of InspIRCd::Modes to be physically part of the object ↵Gravatar Attila Molnar2014-06-241-4/+0
| | | | | | | | containing it using fakederef
* | Kill needless #includes in source filesGravatar Attila Molnar2014-06-141-4/+0
| |
* | Make the default ProtocolInterface instance part of class InspIRCdGravatar Attila Molnar2014-06-131-5/+1
| | | | | | | | | | The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI