aboutsummaryrefslogtreecommitdiff
path: root/src/modules
Commit message (Expand)AuthorAgeFilesLines
* Move RPL_UNINVITED to 653 to avoid a collision with Bahamut/ircu.Gravatar Peter Powell2019-01-051-1/+1
* Merge m_restrictchans and m_regonlycreate due to converging functionality (#1...Gravatar linuxdaemon2019-01-042-73/+34
* Improve the spanningtree "unknown command" error message.Gravatar Peter Powell2019-01-031-1/+1
* Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message.Gravatar Peter Powell2019-01-022-2/+7
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-029-29/+107
* Strip message tags when talking with 1202 protocol servers.Gravatar Peter Powell2019-01-021-0/+6
* Remove spanningtree check for lines sent without a source.•••We don't send any of these anymore. Gravatar Peter Powell2019-01-021-6/+0
* Only parse valid durations, don't treat invalid multipliers as seconds (#1538)Gravatar linuxdaemon2018-12-2110-15/+45
* Fix thinking that 1202 protocol servers have not finished bursting.•••A server introduction is only a burst if all of the parent servers of it are not bursting. Fixes #1527. Gravatar Peter Powell2018-12-201-3/+13
* Add the <maxlist> tag and switch ListModeBase to always use it.•••The old method of doing this was: 1. Extremely inconsistently used. Some list modes used <banlist> and some used their own config tag. 2. Not documented in the slightest. There was a small reference to <maxbans> for the ban mode but nothing else. 3. In some cases conflicting with other config tags. The chanfilter module defined a <chanfilter> tag for general config whilst also using it for the max list settings. The new <maxlist> tag avoids these issues entirely. Gravatar Peter Powell2018-12-195-6/+20
* Make more modules rehash atomically (#1535)•••Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs Gravatar linuxdaemon2018-12-1915-118/+276
* Fix not propagating rehashes properly across the network.•••The REHASH command is not routed like a normal command. When a rehash that needs to be forwarded is received the local server forwards it indirectly by calling the local REHASH handler which then calls the OnPreRehash hook. This results in the OnPreRehash hook being called whilst loopCall is true. The bug which this check was added to fix seems to no longer be present so no alternate fix for that seems necessary. Closes #1537. Gravatar Peter Powell2018-12-171-3/+0
* Fix ParamModeBase::OnUnset() not being virtual.•••Closes #1536. Gravatar Peter Powell2018-12-162-2/+2
* Update the cloaks of connected users when their IP address changes.Gravatar Peter Powell2018-12-131-0/+18
* Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-136-14/+14
* Fix conversion issues by replacing ConvToInt with ConvToNum<T>.•••The former was a thin wrapper around atol and brought with it all of the weird parsing logic of atol which is almost never what is actually wanted. It also almost never returned the numeric type which is actually wanted which can cause weird issues when casting. Gravatar Peter Powell2018-12-1222-34/+34
* Fix not rejecting invalid durations in DCCALLOW.Gravatar Peter Powell2018-12-121-2/+3
* Fix a crash when the core_oper module is not loaded.Gravatar Peter Powell2018-12-121-1/+2
* Use consistent numerics when a mode already exists or doesn't exist.Gravatar Peter Powell2018-12-092-27/+0
* Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.Gravatar Peter Powell2018-12-092-12/+1
* Fix a numeric collision with UnrealIRCd's help numerics.•••We were not using these correctly and the ircd-ratbox numerics are more widely supported so using those is better. Gravatar Peter Powell2018-12-091-20/+24
* Allow users on an accept list to bypass the +R user mode.•••As implemented in ircd-seven and possibly other servers. Gravatar Peter Powell2018-12-091-15/+24
* Allow modules to check if a user is on a callerid accept list.Gravatar Peter Powell2018-12-091-0/+23
* Raise the default max number of ACCEPT entries from 16 to 30.Gravatar Peter Powell2018-12-091-1/+1
* Fix detecting secure clients connecting through HAProxy/WEBIRC.Gravatar Peter Powell2018-12-016-85/+92
* Move IsValidDuration into the core.Gravatar Peter Powell2018-11-241-15/+1
* Fix some incorrect conditions in the showfile module.•••Thanks to @genius3000 for pointing this out. Gravatar Peter Powell2018-11-241-2/+2
* Improve the description of the maphide module.Gravatar Peter Powell2018-11-241-1/+1
* Improve the output of the showfile module.•••- Omit the starting numeric if a zero numeric is specified. - Omit the ending numeric if a zero numeric is specified or if the end message is empty. Gravatar Peter Powell2018-11-241-2/+3
* Kill users that fail a WEBIRC auth instead of penalising them.•••This behaviour is specified in the IRCv3 WebIRC specification. Gravatar Peter Powell2018-11-211-2/+2
* Only try to parse the WebIRC IP if the user matches a host.Gravatar Peter Powell2018-11-211-9/+9
* m_filter: Add a warn action for notifying opers while still allowing the mess...•••Thanks to @H7-25 (Simos) for the idea. Gravatar Robby2018-11-211-4/+14
* m_blockcolor: Check for colors the same way InspIRCd::StripColor() does.Gravatar Robby2018-11-211-10/+4
* Add support for multiple cloak configurations.•••The first will be used for cloaking and the rest will be used for checking bans. Gravatar Peter Powell2018-11-191-90/+164
* Fix sending DNSBL error snotices when a user isn't DNSBLed.Gravatar Peter Powell2018-11-161-0/+3
* Fix an inverted condition in the cgiirc module.Gravatar Peter Powell2018-11-161-2/+2
* Fix the OnSendWhoLine event being completely broken with WHOX.Gravatar Peter Powell2018-11-153-13/+66
* m_filter: add Z-Line supportGravatar Michael Hazell2018-11-121-4/+33
* Merge tag 'v2.0.27' into master.Gravatar Peter Powell2018-11-071-1/+1
|\
| * Fix sending malformed ERR_BANLISTFULL numerics in some contexts.•••Fixes ircdocs/irc-defs#37. Gravatar Peter Powell2018-10-091-1/+2
| * Fix gateway client hosts not being updated if DNS resolution fails.Gravatar Peter Powell2018-09-181-0/+6
* | Implement support for WEBIRC attributes.Gravatar Peter Powell2018-11-042-5/+141
* | WebSocket: send messages as text by default.•••This requires all messages to be UTF-8. If you are using a UTF-8 incompatible text encoding then you can disable this by setting <websocket:sendastext> to false. Gravatar Peter Powell2018-11-031-4/+27
* | WebSocket: use one WebSocket message per IRC message.•••This makes more sense for WebSocket clients than CR+LF termination as the protocol already understands the concept of messages. Gravatar Peter Powell2018-10-311-8/+42
* | Also synchronise the prefix rank between servers.Gravatar Peter Powell2018-10-281-3/+3
* | Fix a shadowing warning in the spanningtree module.Gravatar Peter Powell2018-10-271-2/+2
* | Improve CAPAB negotiation in the spanningtree module.•••- Remove the CHANMODES, USERMODES, and PREFIX tokens in the 1205 protocol. These have entirely been superceded by the CHANMODES and USERMODES CAPAB commands. - Only compare the 1202 PREFIX tokens if the remote server did not send CAPAB CHANMODES. This replicates the existing behaviour used for the CHANMODES token. - Fix checking whether the remote server has an appropriate case mapping. If it is not sent we assume it is the same as the local server as always. This should prevent issues with people using services packages that do not send this token yet. - Fix checking if the user modes are mismatched and then promptly overwriting the error message with mismatched channel modes. - Fix servers not being able to tell whether a mode on the remote server is a prefixless prefix mode. Requires the 1205 protocol. - Fix servers that receive CAPAB CHANMODES or CAPAB USERMODES not checking the type of those modes. Requires the 1205 protocol. Gravatar Peter Powell2018-10-272-30/+55
* | Fix a bunch of harmless compiler warnings on recent GCC releases.Gravatar Peter Powell2018-10-263-3/+13
* | Allow HAProxy to specify that a client is connecting with SSL.Gravatar Peter Powell2018-10-252-5/+113
* | Fix the censor module sending the wrong numeric in some cases.•••The appropriate numeric response when a user has the censor mode enabled is ERR_CANTSENDTOUSER not ERR_CANTSENDTOUSER. Gravatar Peter Powell2018-10-251-13/+30