aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree
Commit message (Expand)AuthorAgeFilesLines
* Fix building on Windows.•••This regression was introduced by #1659. This distinction is only relevant on Windows so this should not affect non-Windows platforms. Gravatar Peter Powell2019-07-041-1/+1
* Replace large if/else blocks for target.type with switches (#1668).Gravatar linuxdaemon2019-06-241-21/+27
* Fix msgid inconsistencies with TAGMSG•••Also fixes accidentally copying incoming tags on TAGMSG when sending to other users Gravatar linuxdaemon2019-06-222-0/+40
* Replace all abstract usages of his/he/her with they/their/it.Gravatar Peter Powell2019-06-071-1/+1
* CoreExport for CommandSave. fixes #1635Gravatar Ben Harris2019-06-071-1/+1
* Add irc::sockets::isunix for checking if a file is a UNIX socket.Gravatar Peter Powell2019-05-291-4/+1
* Fix space separation for CAPAB module listGravatar linuxdaemon2019-05-151-7/+6
* Add an enumeration for known protocol versions.Gravatar Peter Powell2019-05-144-28/+43
* If a parent server is hidden then also hide its child servers.•••This should fix #851. Gravatar Peter Powell2019-05-141-4/+6
* Fix an unnecessary string copy when reading the <link> tags.Gravatar Peter Powell2019-05-141-2/+1
* Replace ModuleSpanningTree::TimeToStr with InspIRCd::DurationStr.Gravatar Peter Powell2019-05-144-20/+2
* Delete some obsolete comments.Gravatar Peter Powell2019-05-091-1/+0
* Merge branch 'insp20' into insp3.Gravatar Peter Powell2019-05-021-1/+1
|\
| * Update documentation links.Gravatar Peter Powell2019-04-261-1/+1
| * Fix m_spanningtree sending the wrong setter in S2S ADDLINE.Gravatar Peter Powell2017-12-151-1/+1
* | Textual improvements and fixes such as typos, casing, etc. (#1612)Gravatar Robby2019-04-289-23/+23
* | m_spanningtree: Parse and copy message tags for all cmds•••Don't ignore message tags on ServerCommands, and avoid creating duplicate CommandBase::Params instances Gravatar linuxdaemon2019-04-281-7/+10
* | m_spanningtree: Ensure tags are sent in forwarded cmds•••When a user (U1) sends a PRIVMSG to a server (S1), which sends it to S2, which finally sends it to S3 to send to U2, S2 doesn't send the tags it received on the command from S1 to S3. Gravatar linuxdaemon2019-04-281-2/+2
* | Fix broken linking over IPv4 on IPv6 capable systems.•••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. Gravatar Peter Powell2019-04-251-5/+15
* | Remove m_silence pending a complete rewrite.Gravatar Peter Powell2019-04-181-0/+5
* | Fix linking servers with UNIX sockets.•••- Remove the address/port overloads of BeginConnect. - Change DoConnect to take a sockaddrs instead of an address/port. Gravatar Peter Powell2019-04-155-22/+38
* | Strip message tags correctly in the 1202 spanningtree compat layer.Gravatar Peter Powell2019-03-201-1/+1
* | Generate the ssl_cert metadata before bursting a connecting user.Gravatar Peter Powell2019-03-142-0/+9
* | Implement support for IRCv3 client-to-client tags.Gravatar Peter Powell2019-02-191-0/+5
* | Improve support for wildcards in <link:name>.•••Closes #1569. Gravatar Peter Powell2019-02-181-1/+1
* | Start using DurationString() in X-line additions and•••a few other modules where it fits better than just showing seconds. Gravatar Matt Schatz2019-02-181-5/+7
* | Various text improvements: consistency, syntax, help and doc updates/fixes.Gravatar Robby2019-02-181-1/+1
* | Remove trailing whitespace from various source files.Gravatar Peter Powell2019-01-241-1/+1
* | Add the reason to xline removal notices. (#1545)•••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-.Gravatar Matt Schatz2019-01-241-3/+4
* | Add translation for casemapping between 2.0/3.0 (#1544)•••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.0Gravatar linuxdaemon2019-01-241-0/+9
* | Fix away broadcast logic (#1561)Gravatar linuxdaemon2019-01-231-1/+1
* | Rename OnClientProtocolProcessTag to OnProcessTag.Gravatar Peter Powell2019-01-221-1/+1
* | Fix sending the entire VERSION output as a single parameter.•••Closes #1560. Gravatar Peter Powell2019-01-191-2/+6
* | Improve X-line text consistency.•••- 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> Gravatar Matt Schatz2019-01-091-1/+1
* | 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
* | 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
* | 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
* | Store durations as unsigned long not long in XLine and m_filter.Gravatar Peter Powell2018-12-131-1/+1
* | 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-1210-13/+13
* | Fix a crash when the core_oper module is not loaded.Gravatar Peter Powell2018-12-121-1/+2
* | 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
* | Move <security:hidesplits> to the spanningtree module.Gravatar Peter Powell2018-10-013-1/+7
* | Fix the chanhistory module being inconsistent across servers.•••Closes #331. Gravatar Peter Powell2018-10-011-1/+16
* | Amend OnPostCommand to specify whether the command is loopcalled.•••This restores previous behaviour which was lost when the original line parameter was removed. Gravatar Peter Powell2018-09-112-2/+2