summaryrefslogtreecommitdiff
path: root/src
AgeCommit message (Collapse)Author
2019-04-27Fix hiding ERR_NOOPERMOTD response when an operator logs in.Peter Powell
2019-04-26Fix the numerics used by the opermotd module.Peter Powell
- Use ERR_NOOPERMOTD from UnrealIRCd and RPL_OMOTDSTART, RPL_OMOTD, and RPL_ENDOFOMOTD from ircd-ratbox. - Only send ERR_NOOPERMOTD in response to the command.
2019-04-25Fix broken linking over IPv4 on IPv6 capable systems.Peter Powell
If no bind address was specified then one would be created which had an incompatible address family to the address that the server was trying to connect to.
2019-04-21Fix grammar in unknown mode/snomask character messages.Robby
2019-04-21HasModePermission: fix inverted condition.Peter Powell
2019-04-19Fall back to the most recent version supported on "CAP LS".Peter Powell
This ensures compliance with the behaviour specified in ircv3/ircv3-specifications#371.
2019-04-19Improve the descriptions of various core modules.Peter Powell
2019-04-19Demote core_ison and core_userhost to commands in core_user.Peter Powell
These are not important enough for their own module.
2019-04-19Promote cmd_mode to its own core module.Peter Powell
core_user was an inappropriate location for this as it contains mode changing code which is used by channels as well as users.
2019-04-19Fix namedmodes exposing non-key secret parameters to outsiders.Peter Powell
2019-04-19Remove the OnNamesListItem event out of the core.Peter Powell
2019-04-19HasModePermission: use IsModeChar.Peter Powell
2019-04-19Rename HasPermission to HasCommandPermission.Peter Powell
2019-04-19Remove the 'noisy' mode for HasPrivPermission.Peter Powell
This was only used in one place.
2019-04-18Remove CXX11_OVERRIDE from some non-overrides.Peter Powell
2019-04-18Add the new implementation of the silence module.Peter Powell
This module has significant improvements on the previous one: * Flags which actually make sense. * Better compatibility with other SILENCE implementations. * Support for blocking CTCPs. * Support for blocking TAGMSGs.
2019-04-18Remove m_silence pending a complete rewrite.Peter Powell
2019-04-18Fix some bugs in LIST constraint parsing.Peter Powell
1. Allow flags to be specified in lower case. This behaviour is required by the draft-hardy-irc-isupport-00 specification. 2. Allow more than one constraint to be specified.
2019-04-16Update trivially-modifiable modules to handle tag messages.Peter Powell
2019-04-16Fix building m_geo_maxmind with older versions of libmaxminddb.Peter Powell
2019-04-15Replace the geoip module with geo_maxmind, geoban, and geoclass.Peter Powell
MaxMind have EOL'd the library that the geoip module uses and have replaced it with libmaxminddb. The geoip module has been split into geo_maxmind which provides geolocation data, geoban which provides location-based channel bans, and geoclass which is used to filter a user into a connect class based on location.
2019-04-15Fix linking servers with UNIX sockets.Peter Powell
- Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port.
2019-04-13commonchans: HandleMessage should not be marked as override.Peter Powell
2019-04-04General code cleanup for the commonchans module.Peter Powell
- Restructure the code to be more readable. - Add support for tag messages.
2019-04-04Use a consistent naming scheme for operator privileges.Peter Powell
- users/callerid-override is now users/ignore-callerid. - users/privdeaf-override is now users/ignore-privdeaf.
2019-04-04Document OnUserInit properly and add OnUserPostInit.Peter Powell
2019-04-04Use SQUERY instead of PRIVMSG in alias/passforward config.Peter Powell
2019-04-03Merge extras/m_privdeaf into m_deaf and update documentation.Matt Schatz
- Merge the 2.0 extras module m_privdeaf (usermode +D for deaf to user messages and notices) as they have a similar purpose. - Improve the channel deaf logic where a known case of bypassing still looped the channel userlist building an empty exemption list. - Improve the comments within the code. - Update the documentation with the previously undocumented configuration to deaf and the new privdeaf configuration.
2019-04-02m_commonchans: Replace IsOper() with HasPrivPermission() instead.Robby
2019-03-30Rename OnClientProtocolPopulateTags to OnPopulateTags.Peter Powell
2019-03-30Mark messages with inspircd.org/bot if the user has +B set.Peter Powell
2019-03-25m_permchannels: validate channel names properly.Peter Powell
2019-03-20Strip message tags correctly in the 1202 spanningtree compat layer.Peter Powell
2019-03-14Update most URLs to use HTTPS and fix some dead links.Robby
2019-03-14Generate the ssl_cert metadata before bursting a connecting user.Peter Powell
2019-03-14Check perms for removal of oper-only channel modes.Matt Schatz
Oper-only channel modes are currently unsettable by any channel op, oper or not. Correct this by checking both directions of an oper-only channel mode and continue only checking the setting of an oper-only user mode. As anyone should be able to unset their own user modes and UnOper() removes all oper-only user modes automatically.
2019-03-14Add oper privs to allow overriding noctcp.Matt Schatz
2019-03-14Fix incorrect ModResult for noctcp user target.Matt Schatz
2019-03-12Add SSL flag to WHO responselinuxdaemon
2019-03-12Rename GetFlagIndex -> GetFieldIndexlinuxdaemon
2019-03-12Move field lookup logic out of WhoData constructorlinuxdaemon
2019-03-12Add Who::Request::GetFlagIndex to get field indexlinuxdaemon
Replaces the dirty logic in m_hideoper and m_namesx
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-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.