summaryrefslogtreecommitdiff
path: root/src/modules
AgeCommit message (Collapse)Author
2019-01-24Fix parsing anticaps mode parameters.Peter Powell
2019-01-24Add the reason to xline removal notices. (#1545)Matt Schatz
Show the reason in manual xline removal SNOTICEs, just like expiry SNOTICEs do. This modifies XLineManager::DelLine() to require another string reference passed to it. Requested by @Robby-.
2019-01-24Add translation for casemapping between 2.0/3.0 (#1544)linuxdaemon
If the casemapping is set to ascii, advertise the m_ascii module to 2.0 to allow use of the m_ascii extras module for 2.0
2019-01-24Move the <disabled> tag out of the core to a new module.Peter Powell
2019-01-24Avoid forwarding passwords to nickserv when using SASL (#1562)linuxdaemon
2019-01-23Fix a crash in m_sslinfo when a socket is SSL but a gateway is not.Peter Powell
2019-01-23Fix away broadcast logic (#1561)linuxdaemon
2019-01-22Rename OnClientProtocolProcessTag to OnProcessTag.Peter Powell
2019-01-20Move ident lookups to the OnSetUserIP hook.Peter Powell
2019-01-19Fix sending the entire VERSION output as a single parameter.Peter Powell
Closes #1560.
2019-01-17m_check: Fix showing oper permissions (privileges). (#1556)Robby
2019-01-14Fix the hostchange set action swapping the host/value fields.Peter Powell
2019-01-14Redo OnSetEndPoint logic to fix duplicate clones (#1549).linuxdaemon
2019-01-11Allow wildcards in <connect:dnsbl>linuxdaemon
This makes it consistent with other <connect> class parameters like `webirc`
2019-01-10Fix reading the server path for UNIX sockets.Peter Powell
2019-01-10Fix copying too much data into the remote endpoint field.Peter Powell
This is a buffer overrun but its harmless as the things it will overwrite are no longer necessary.
2019-01-10m_ircv3_echomessage: only echo the tags which were actually used.Peter Powell
2019-01-09Fix m_alias not initialising 'active' before use.Peter Powell
2019-01-09Improve X-line text consistency.Matt Schatz
- 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>
2019-01-05Move RPL_UNINVITED to 653 to avoid a collision with Bahamut/ircu.Peter Powell
2019-01-04Merge m_restrictchans and m_regonlycreate due to converging functionality ↵linuxdaemon
(#1541).
2019-01-03Improve the spanningtree "unknown command" error message.Peter Powell
2019-01-02Fix a crash when trying to use ROUTE_TYPE_MESSAGE with no message.Peter Powell
2019-01-02Fix message tags not being broadcast across the network.Peter Powell
2019-01-02Strip message tags when talking with 1202 protocol servers.Peter Powell
2019-01-02Remove spanningtree check for lines sent without a source.Peter Powell
We don't send any of these anymore.
2018-12-21Only parse valid durations, don't treat invalid multipliers as seconds (#1538)linuxdaemon
2018-12-20Fix thinking that 1202 protocol servers have not finished bursting.Peter Powell
A server introduction is only a burst if all of the parent servers of it are not bursting. Fixes #1527.
2018-12-19Add the <maxlist> tag and switch ListModeBase to always use it.Peter Powell
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.
2018-12-19Make more modules rehash atomically (#1535)linuxdaemon
Have each module validate the values it loads before setting them, so any errors don't result in partial application of the configs
2018-12-17Fix not propagating rehashes properly across the network.Peter Powell
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.
2018-12-16Fix ParamModeBase::OnUnset() not being virtual.Peter Powell
Closes #1536.
2018-12-13Update the cloaks of connected users when their IP address changes.Peter Powell
2018-12-13Store durations as unsigned long not long in XLine and m_filter.Peter Powell
2018-12-12Fix conversion issues by replacing ConvToInt with ConvToNum<T>.Peter Powell
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.
2018-12-12Fix not rejecting invalid durations in DCCALLOW.Peter Powell
2018-12-12Fix a crash when the core_oper module is not loaded.Peter Powell
2018-12-09Use consistent numerics when a mode already exists or doesn't exist.Peter Powell
2018-12-09Use ERR_BANLISTFULL in the chanfilter and exemptchanops modules.Peter Powell
2018-12-09Fix a numeric collision with UnrealIRCd's help numerics.Peter Powell
We were not using these correctly and the ircd-ratbox numerics are more widely supported so using those is better.
2018-12-09Allow users on an accept list to bypass the +R user mode.Peter Powell
As implemented in ircd-seven and possibly other servers.
2018-12-09Allow modules to check if a user is on a callerid accept list.Peter Powell
2018-12-09Raise the default max number of ACCEPT entries from 16 to 30.Peter Powell
2018-12-01Fix detecting secure clients connecting through HAProxy/WEBIRC.Peter Powell
2018-11-24Move IsValidDuration into the core.Peter Powell
2018-11-24Fix some incorrect conditions in the showfile module.Peter Powell
Thanks to @genius3000 for pointing this out.
2018-11-24Improve the description of the maphide module.Peter Powell
2018-11-24Improve the output of the showfile module.Peter Powell
- 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.
2018-11-21Kill users that fail a WEBIRC auth instead of penalising them.Peter Powell
This behaviour is specified in the IRCv3 WebIRC specification.
2018-11-21Only try to parse the WebIRC IP if the user matches a host.Peter Powell