aboutsummaryrefslogtreecommitdiff
path: root/include/inspircd.h
Commit message (Expand)AuthorAgeFilesLines
* Update copyright headers.Gravatar InspIRCd Robot2022-12-301-1/+1
* Also use binary exit codes in places that terminate abruptly.•••This is a partial reversion of commit 57330e973b3eb1f2a84803c84daf9d6b420859fd. Gravatar Sadie Powell2022-07-191-0/+8
* Update copyright headers.Gravatar InspIRCd Robot2022-04-281-1/+1
* Fix an outdated comment.Gravatar Sadie Powell2022-04-201-1/+1
* Fix various documentation comments.Gravatar Sadie Powell2021-03-311-1/+0
* Update copyright headers.Gravatar InspIRCd Robot2021-03-051-1/+1
* Fixes by misspell-fixerGravatar InspIRCd Robot2020-04-211-1/+1
* Update copyright headers.Gravatar InspIRCd Robot2020-01-111-6/+12
* Make BindPorts return size_t instead of int.Gravatar Peter Powell2019-12-091-1/+1
* Improve behaviour when running as root.•••- Only give the annoying message about root if --runasroot is not specified. - If --runasroot is specified then assume the user knows what they are doing. - Move CheckRoot to a static function in inspircd.cpp. Gravatar Peter Powell2019-12-081-5/+0
* Convert InspIRCd::SetSignals to a static function.Gravatar Peter Powell2019-12-081-4/+0
* Move forking code into a function and remove DaemonSeed.Gravatar Peter Powell2019-12-081-5/+0
* Implement serialisation of users.•••This allows for various things which will be coming in the future. e.g. Transferring users to another server on upgrade. Gravatar Peter Powell2019-10-141-0/+1
* Fix various cases of broken indentation.Gravatar Peter Powell2019-07-261-5/+5
* Fix building against older versions of glibc.Gravatar Peter Powell2019-05-061-0/+4
* Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-281-4/+4
* Add a function for displaying human-readable durations.•••Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s). Gravatar Matt Schatz2019-02-181-0/+6
* Improve X-line text consistency.•••- Change any "-Line", ":Line", or "*line" to "-line" throughout the X-line code, comments, and documentation. - Add periods to the end of some notices. - Correct a typo in the Q-line code comments. - Update the filter module documentation (shun addition). Co-authored-by: Robby <robby@chatbelgie.be> Gravatar Matt Schatz2019-01-091-1/+1
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-211-0/+8
* Move IsValidDuration into the core.Gravatar Peter Powell2018-11-241-0/+6
* Fix warnings from Doxygen.Gravatar Peter Powell2018-10-211-2/+2
* Switch all core modules still using COMMAND_INIT to MODULE_INIT.Gravatar Peter Powell2018-09-231-15/+0
* Implement IRCv3 message tag support.•••Co-authored-by: Attila Molnar <attilamolnar@hush.com> Gravatar Peter Powell2018-08-131-0/+19
* Replace irc::stringjoiner with a generic stdalgo::string::join.•••This can also be used with different types of collection containing values which are not a string. Gravatar Peter Powell2018-07-261-1/+1
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-1/+1
* Initial support for listening on UNIX socket endpoints.Gravatar Peter Powell2018-07-181-0/+7
* Add InspIRCd::IsHost for checking the validity of hostnames.Gravatar Peter Powell2018-07-101-0/+6
* Add range checking to ConfigTag::getFloat.Gravatar Peter Powell2018-04-161-0/+1
* Include modules/whois.h directly from files that use it.Gravatar Peter Powell2018-04-081-1/+0
* Move OnStats from the core to a cross-module event.•••Some core code still exists in the XLine system but this will be replaced when the XLine system is replaced later. Gravatar Peter Powell2018-04-081-1/+0
* Fix some minor Doxygen errors.Gravatar Peter Powell2018-01-141-2/+2
* Rework message handling.•••- Move all message-related types to their own header to make moving them to a cross-module events easier. - Rename OnUserMessage to OnUserPostMessage. - Rename OnText to OnUserMessage. - Replace the dest, target_type, and status parameters with the MessageTarget class. - Replace the text, exempt_list, and msgtype parameters with the MessageDetails struct. - Add echooriginal and originaltext to the MessageDetails struct to allow spam filtering to not be broken by cap echo-message. Gravatar Peter Powell2018-01-061-0/+1
* Make InspIRCd::Format return std::string instead of const char*.•••Using the latter is problematic as if you don't copy the return value before calling Format again your formatted message will be overwritten by something else. This bug was observed in m_callerid where InspIRCd::Format was being used for formatting two arguments the latter of which was being overwritten with the former. We could have preserved the return type and just copied the string but then callers would have had to deallocate the string once they have finished with it which is an undesirabable burden to put on callers. Gravatar Peter Powell2018-01-031-2/+2
* Get rid of InspIRCd::QuickExit.•••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. Gravatar Peter Powell2017-12-231-5/+0
* Convert the remaining things away from the caller/handler API.Gravatar Peter Powell2017-11-251-1/+0
* Convert GenRandom to std::function.Gravatar Peter Powell2017-11-251-6/+8
* Convert IsChannel to std::function.Gravatar Peter Powell2017-11-251-7/+9
* Convert IsIdent to std::function.Gravatar Peter Powell2017-11-251-7/+9
* Convert IsNick to std::function.Gravatar Peter Powell2017-11-251-7/+8
* Add the override keyword in places that it is missing.•••GCCs warnings for this are much better than Clangs. Gravatar Peter Powell2017-11-211-1/+1
* Fix a ton of -Wsign-conversion warnings.Gravatar Peter Powell2017-11-171-1/+1
* Move operquit out of the core and into core_user.Gravatar Peter Powell2017-09-111-4/+0
* Fix a bunch of Doxygen warnings.Gravatar Peter Powell2017-08-261-0/+1
* Move the OnCheckExemption hook out of the core.Gravatar Peter Powell2017-03-201-9/+0
* Merge insp20Gravatar Attila Molnar2016-08-171-1/+2
|\
| * Don't exit on rehash if the pid file cannot be writtenGravatar Attila Molnar2016-06-171-1/+2
* | Introduce Stats::Context, pass it to the OnStats hook and switch all code to itGravatar Attila Molnar2016-02-251-0/+1
* | Add Numeric::NumericGravatar Attila Molnar2016-02-251-0/+1
* | Move implementation of ConvTo*() and related functions into convto.hGravatar Attila Molnar2016-02-251-82/+1
* | Include stdint.h from inspircd.hGravatar Attila Molnar2016-02-251-0/+1