summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2019-03-10Fix BanCache entries existing after X-line expiry.Matt Schatz
When DefaultApply() adds a hit to the BanCache it uses the X-line duration to set a duration on the entry. This can result in an entry lasting longer than the X-line itself. Fix this by setting the entry duration to the time left on the X-line.
2019-03-09m_httpd: GCC is __GNUC__ not _GNUC.Peter Powell
2019-03-08m_httpd: use http_response_str() instead of Response().Peter Powell
Lets not reinvent the wheel pointlessly.
2019-03-08Fix an "unknown pragma" warning on Windows.Peter Powell
2019-03-07Add missing '>' to an example connect tag.Robby
2019-03-02Reject client-to-client tags with no name.Peter Powell
2019-02-22Improve the handling of config X-lines and filters. (#1583)Matt Schatz
2019-02-20Split reading module initialisation and configuration reading.Peter Powell
This allows modules to register services that other modules may require to be available when reading the configuration.
2019-02-20Fix not showing all modes on a channellinuxdaemon
Whenever a mode has a parameter, no modes past that mode will be shown in RPL_CHANNELMODEIS. References to items in a vector break when the vector's size is changed.
2019-02-19Implement support for IRCv3 client-to-client tags.Peter Powell
2019-02-19Fix erasing event subscribers erasing all with the same priority.Peter Powell
2019-02-19Allow customising ElementComp in flat_{map,multimap,multiset,set}.Peter Powell
2019-02-19Minor text fixes for m_filter.Robby
2019-02-19Improve the messages in m_filter.Matt Schatz
* Deduplicate "FILTER" in some SNOTICES. * Add the filter reason to removals to match with X-line removals now. * Use the new DurationString() function for a standardized duration display when adding. * Add X-line mask, duration, and expiry date to the action messages.
2019-02-18Improve support for wildcards in <link:name>.Peter Powell
Closes #1569.
2019-02-18Fix MatchCIDR matching UNIX socket hostnames.Peter Powell
2019-02-18Start using DurationString() in X-line additions andMatt Schatz
a few other modules where it fits better than just showing seconds.
2019-02-18X-line expiries: use the new DurationString() function.Matt Schatz
2019-02-18Add a function for displaying human-readable durations.Matt Schatz
Add InspIRCd::DurationString() to take a time_t and return a string with the duration in a human-readable format (ex: 1y20w2d3h5m9s).
2019-02-18Various text improvements: consistency, syntax, help and doc updates/fixes.Robby
2019-02-17Fix an off-by-one error in User::GetModeLetters().Peter Powell
2019-02-16ircv3_chghost: also send the CHGHOST message to the modified user.Peter Powell
2019-02-16Use the local hostname as the server name if one is not specified.Peter Powell
2019-02-16Remove obsolete ifdef in m_ssl_gnutls.Peter Powell
GNUTLS_DIG_SHA256 was added in version 1.7.4 and we require 2.0.0+
2019-02-15Move the close and jumpserver modules to inspircd-extras.Peter Powell
- The close module is borderline useless. - The jumpserver numeric is supported by barely any clients and has various security problems.
2019-02-15Replace GetServerPort() with server_sa.port().Peter Powell
2019-02-15Rename User::nping to nextping for consistency with lastping.Peter Powell
2019-02-15Refactor UserManager::DoBackgroundUserStuff().Peter Powell
2019-02-14Silence a warning from the helper script on OpenBSD.Peter Powell
2019-02-14WriteNeighborsWithCap: add the ability to send to the origin user.Peter Powell
2019-02-09Re-tabularise the helpop cuser/coper command lists.Peter Powell
2019-02-09Unify the helpop and helpop-full config files.Peter Powell
2019-02-09Implement support for SQUERY from RFC 2812.Peter Powell
This is treated internally as a PRIVMSG with a few exceptions: 1. The command MUST have exactly one target. 2. The target MUST be a user. 3. The target MUST be on a u-lined server (e.g. NickServ).
2019-02-09Move CommandMessage::Handle into the class definition.Peter Powell
2019-02-09Move message handling code to Handle{Channel,Server,User}Target.Peter Powell
This makes the logic for this module considerably easier to read.
2019-02-09Deduplicate firing module events in core_message.Peter Powell
2019-02-08core_message: remove unnecessary inheritance logic.Peter Powell
2019-02-08Rename core_privmsg to core_message.Peter Powell
2019-02-07Fix erroneously limiting to the size of sa instead of sun_path.Peter Powell
2019-02-07Add irc::sockets::untosa() for creating AF_UNIX sockaddrs.Peter Powell
Also fix an overly long albeit harmless memcpy when creating UNIX socket listeners. Thanks to @psychon for reporting this.
2019-02-07Fix an unintentionally inverted condition in core_oper.Peter Powell
2019-02-07Document OnUserWrite.Peter Powell
2019-02-06Tell people to run `make install` instead of just `make`.Peter Powell
2019-02-06Don't allow invalid characters in UNIX listener paths.linuxdaemon
2019-02-06Expand searching in m_httpd_stats, add global handling of GET parameters (#1566)linuxdaemon
2019-02-06Release v3.0.0 release candidate 2.Peter Powell
2019-02-05Quit users during cleanup instead of when /DIE is executed.Peter Powell
2019-02-05Delete the old broken test suite.Peter Powell
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.
2019-02-05Move <oper:class> and <oper:vhost> to core_oper.Peter Powell
2019-02-05ModuleManager: use std::flush instead of fflush(stdout).Peter Powell