aboutsummaryrefslogtreecommitdiff
path: root/src/modules/m_spanningtree/treesocket.h
Commit message (Expand)AuthorAgeFilesLines
* Avoid copying various shared_ptr usages when not necessary.Gravatar Sadie Powell2023-01-101-1/+1
* Pass the client/server sockaddr around as a ref instead of a ptr.Gravatar Sadie Powell2022-12-251-1/+1
* Yet more stylistic fixes.Gravatar Sadie Powell2022-12-011-1/+1
* Assign more class members inline instead of in the constructor.Gravatar Sadie Powell2022-10-211-3/+2
* Fix various cases of the &* being next to the name instead of type.Gravatar Sadie Powell2022-09-291-7/+7
* Fix some warnings noticed by the readability-* clang-tidy checkers.Gravatar Sadie Powell2022-09-031-5/+5
* Switch from NULL to nullptr.Gravatar Sadie Powell2022-07-221-1/+1
* Abolish the infernal space before accessibility keywords.Gravatar Sadie Powell2022-01-251-1/+1
* Apply the final keyword to all module classes where appropriate.Gravatar Sadie Powell2021-10-041-2/+3
* Forward SQUERY to services instead of downgrading it to PRIVMSG.Gravatar Sadie Powell2021-08-281-0/+5
* Merge branch 'insp3' into master.Gravatar Sadie Powell2021-07-011-1/+1
|\
| * Fix various spelling issues (#1883).•••Signed-off-by: Josh Soref <jsoref@users.noreply.github.com> Gravatar Josh Soref2021-06-211-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2021-05-111-2/+2
|\|
| * Fix a bunch of weird indentation and spacing issues.Gravatar Sadie Powell2021-04-271-2/+2
* | Use the contents of the link data map when using the 1206 protocol.•••Still to do: - Extract URL encoding to inspstring. - Use CompareLinkData when using the 1206 protocol. - Show friendlier messages when a link compatibility is encountered. Gravatar Sadie Powell2021-05-101-3/+3
* | Refer to encryption as TLS instead of SSL in all messages.Gravatar Sadie Powell2021-04-081-1/+1
* | Fix the setter and set time of list modes being lost on netburst.•••Closes #1812. Gravatar Sadie Powell2021-03-301-0/+1
* | Refactor classbase/CullResult into Cullable/Cullable::Result.Gravatar Sadie Powell2021-03-021-1/+1
* | Rewrite CAPAB MODULES/MODSUPPORT parsing/generation logic.Gravatar Sadie Powell2020-12-071-7/+9
* | Add support for the 1206 spanningtree protocol.•••For now this is identical to 1205 but changes will be happening soon. Gravatar Sadie Powell2020-12-041-1/+1
* | Convert CapabData to be a unique_ptr.Gravatar Sadie Powell2020-11-271-4/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-11-011-1/+1
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-10-301-1/+1
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-09-181-0/+1
|\|
| * Warn about non-local plaintext server connections.Gravatar Sadie Powell2020-08-291-0/+1
* | Move GetNextLine from StreamSocket to TreeSocket.Gravatar Sadie Powell2020-07-201-0/+7
* | Rip out compatibility code for the 2.0 protocol.Gravatar Sadie Powell2020-05-201-15/+0
* | Add first class support for extbans.•••This replaces the previous support which was pretty much a giant hack and was not synchronised between servers. Gravatar Sadie Powell2020-05-071-0/+7
* | Switch the spanningtree module from reference<> to std::shared_ptr<>.Gravatar Sadie Powell2020-04-131-4/+4
* | Use C++11 inline initialisation for class members.Gravatar Sadie Powell2020-02-061-3/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2020-01-171-2/+7
|\|
| * Update copyright headers.Gravatar InspIRCd Robot2020-01-111-2/+7
* | Merge branch 'insp3' into master.Gravatar Sadie Powell2019-05-151-1/+1
|\|
| * 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-151-1/+1
* | Replace the override macro with the override keyword.Gravatar Sadie Powell2019-01-251-6/+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
* Fix message tags not being broadcast across the network.Gravatar Peter Powell2019-01-021-2/+6
* 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-121-1/+1
* 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-271-0/+5
* Use CommandBase::Params instead of std::vector<std::string>.•••This is presently a typedef but will soon be replaced with a class that encapsulates both tags and parameters. Gravatar Peter Powell2018-07-261-8/+8
* Add CXX11_OVERRIDE to overridden members that lack it.•••This fixes a ton of warnings when building on compilers that default to C++11 or newer. Gravatar Peter Powell2017-07-121-5/+5
* m_spanningtree Get rid of some boilerplate•••Make methods const while at it Gravatar Attila Molnar2015-01-201-1/+1
* Merge insp20Gravatar Attila Molnar2014-10-271-2/+0
|\
| * Remove some dead code found by CoverityGravatar Attila Molnar2014-10-261-2/+0
* | m_spanningtree Move squit logic into TreeServer from TreeSocketGravatar Attila Molnar2014-07-281-18/+0
* | m_spanningtree Remove now needless TreeSocket::ConnectionFailureShownGravatar Attila Molnar2014-07-281-1/+0
* | m_spanningtree Keep track of whether we've sent our burst, to be used for tra...Gravatar Attila Molnar2014-07-271-0/+6
* | m_spanningtree Add TreeSocket::WriteLineNoCompat() to send a line without doi...Gravatar Attila Molnar2014-07-271-0/+5
* | m_spanningtree Deduplicate server auth codeGravatar Attila Molnar2014-07-271-0/+9
* | m_spanningtree Deduplicate auth finish codeGravatar Attila Molnar2014-07-271-0/+10