aboutsummaryrefslogtreecommitdiff
path: root/include/inspircd.h
Commit message (Expand)AuthorAgeFilesLines
* 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
* | Add Numeric::BuilderGravatar Attila Molnar2015-12-301-0/+1
* | Strip all control codes except \001 in InspIRCd::StripColor()•••Fixes issue #1100 reported by @uecasm Gravatar Attila Molnar2015-12-081-1/+1
* | Move InspIRCd::SendError() to cmd_die•••Fix multiple ERROR messages being sent to unregistered users by removing the "Exiting with status..." message Gravatar Attila Molnar2015-05-171-5/+0
* | Move OnWhois* events to core_whois, add Whois::Context•••Remove InspIRCd::SendWhoisLine() Gravatar Attila Molnar2015-04-281-17/+2
* | Add flat_[multi]{map,set} containersGravatar Attila Molnar2014-12-151-0/+1
* | Add the insp::aligned_storage templateGravatar Attila Molnar2014-09-271-0/+1
* | Remove InspIRCd::BindSocket()Gravatar Attila Molnar2014-08-041-9/+0
* | Move ISupportManager class declaration to isupportmanager.h from inspircd.hGravatar Attila Molnar2014-07-141-21/+1
* | Add InspIRCd::TimingSafeCompare() function that compares strings in a timing-...Gravatar Attila Molnar2014-06-281-0/+9
* | Add parameter to InspIRCd::TimeString for UTC time formats.•••Missing doc added by @attilamolnar Gravatar Peter Powell2014-06-251-1/+2
* | Add formatting to InspIRCd::TimeString; switch all code to use it.•••m_httpd also now uses the correct timestamp format. Windows-specific fixes by @attilamolnar, original PR #849 Gravatar Peter Powell2014-06-251-1/+4
* | Change allocation of InspIRCd::Users to be physically part of the object cont...Gravatar Attila Molnar2014-06-241-1/+1
* | Change allocation of InspIRCd::SNO to be physically part of the object contai...Gravatar Attila Molnar2014-06-241-1/+1
* | Change allocation of InspIRCd::Modules to be physically part of the object co...Gravatar Attila Molnar2014-06-241-1/+1
* | Change allocation of InspIRCd::Logs to be physically part of the object conta...Gravatar Attila Molnar2014-06-241-1/+1
* | Change allocation of InspIRCd::Modes to be physically part of the object cont...Gravatar Attila Molnar2014-06-241-1/+1
* | Add the fakederef classGravatar Attila Molnar2014-06-241-0/+11
* | Remove unused #define ERROR -1Gravatar Attila Molnar2014-06-141-4/+0
* | Make the default ProtocolInterface instance part of class InspIRCd•••The protocol module no longer has to delete it on load and construct it on unload, only assign a new value to ServerInstance->PI Gravatar Attila Molnar2014-06-131-0/+4
* | Change allocation of InspIRCd::Parser to be physically part of the object con...Gravatar Attila Molnar2014-06-131-1/+1
* | Change allocation of InspIRCd::BanCache to be physically part of the object c...Gravatar Attila Molnar2014-06-131-1/+1
* | Pull in bancache.h from inspircd.hGravatar Attila Molnar2014-06-131-0/+1
* | Change allocation of InspIRCd::Threads to be physically part of the object co...Gravatar Attila Molnar2014-06-131-1/+1
* | Change allocation of InspIRCd::stats to be physically part of the object cont...•••While at it, remove "stats" from all field names Gravatar Attila Molnar2014-06-131-13/+13
* | Add ConvToUInt64()Gravatar Attila Molnar2014-06-111-0/+9
* | Cull ident sockets instead of immediate delete, add stdalgo::culldeleterGravatar Attila Molnar2014-03-241-0/+6
* | Create the stdalgo namespace for container-related algorithms, add stdalgo::v...Gravatar Attila Molnar2014-03-241-0/+1
* | Change allocation of InspIRCd::Timers to be physically part of the object con...Gravatar Attila Molnar2014-03-151-1/+1
* | Change allocation of InspIRCd::chanlist to be physically part of the object c...Gravatar Attila Molnar2014-03-141-2/+2
* | Add InspIRCd::GetChans(), remove ChannelCount()Gravatar Attila Molnar2014-03-141-5/+5