aboutsummaryrefslogtreecommitdiff
path: root/src/inspircd.cpp
Commit message (Collapse)AuthorAgeFilesLines
* 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
* | Change allocation of InspIRCd::Parser to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-3/+0
| | | | | | | | containing it
* | Change allocation of InspIRCd::BanCache to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-3/+0
| | | | | | | | containing it
* | Pull in bancache.h from inspircd.hGravatar Attila Molnar2014-06-131-1/+0
| |
* | Change allocation of InspIRCd::Threads to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-4/+0
| | | | | | | | containing it
* | Change allocation of InspIRCd::stats to be physically part of the object ↵Gravatar Attila Molnar2014-06-131-9/+6
| | | | | | | | | | | | containing it While at it, remove "stats" from all field names
* | Prefix all definitions in config.h to avoid potential collisions.Gravatar Peter Powell2014-05-231-2/+2
| |
* | Merge insp20Gravatar Attila Molnar2014-04-071-1/+1
|\|
| * Fix various problems detected by Clang 3.4.Gravatar Peter Powell2014-02-111-1/+1
| | | | | | | | | | | | | | - cidr.cpp: remove inverted_bits; unused since 9fad3ecb9215a0034bf407f192926b04cb5efaed. - cmd_stats.cpp: remove needless inversion and comparison to 0. - inspircd.cpp: remove needless comparison to 0. - socket.cpp: remove all_zero; unused since 03a1bf15b1da7643b237c22db1a478916a976ccf.
* | Change allocation of InspIRCd::Timers to be physically part of the object ↵Gravatar Attila Molnar2014-03-151-4/+1
| | | | | | | | containing it
* | Change allocation of InspIRCd::chanlist to be physically part of the object ↵Gravatar Attila Molnar2014-03-141-4/+0
| | | | | | | | containing it
* | Change all socketengine methods to be staticGravatar Attila Molnar2014-02-081-7/+7
| |