summaryrefslogtreecommitdiff
path: root/modules/protocol/hybrid.cpp
AgeCommit message (Collapse)Author
2025-01-14Update the copyright headers for 2025.2.0Sadie Powell
2024-02-17Update the copyright headers for 2024.Sadie Powell
2022-12-31Update the copyright headers for 2023.Sadie Powell
2022-09-29Update ircd-hybrid protocol modulemiwob
* Add METADATA command handler which currently only allows to modify a client's certificate fingerprint * Minor reformatting and style inconsistency fixes
2022-09-15Update hybrid protocol module to improve compatibility with the latest ↵miwob
ircd-hybrid release. * Remove support for deprecated channel mode `u` * Add support for channel mode `N` * Fixed the `UID` message handler requiring the correct amount of arguments * Fixed the `SID` message handler requiring the correct amount of arguments * Fixed the `SJOIN` message handler requiring the correct amount of arguments * Minor documentation updates and style corrections * Remove pointless return statement in the `JOIN` message handler * Add support for the owner and admin channel prefix modes * Add support for `MLOCK` * Fixed SendChannel() so modes are prefixed with a `+` * Change SendJoin() to actually use the mode stacker * Add support for channel mode `Q` * Add support for channel mode `Z` * Add support for user mode `B` and `Z` * Actually user mode `g` is not oper only. For some reason this mode got set to oper only in anope/anope@1e625b6 * Work properly with extended bans, e.g. don't normalize masks starting with a `$`
2022-01-09Adjust IsIdentValid test to comply with upcoming ircd-hybrid release (#272).Michael Wobst
hybrid.cpp: adjust IsIdentValid test to comply with upcoming ircd-hybrid where user names may only consist of [A-Za-z0-9._-] and may not begin with '.', '-', or '_'. As a side effect this fixes an issue where currently it is possible to introduce bots whose user name starts with (non-alnum) characters considered invalid for ircd-hybrid leading to a services shutdown due to a nick introduction/kill loop.
2022-01-06Update the copyright headers for 2022.Sadie Powell
2021-01-07Update copyright to 2021.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2021 Anope Team/i' {} \;
2020-10-02Update/modernize ircd-hybrid protocol module to stay link compatible with ↵miwob
next ircd-hybrid release
2020-08-01ircd-hybrid protocol module: add support for channel mode 'K' (no knock)miwob
2020-01-04Update copyright to 2020.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2020 Anope Team/i' {} \;
2019-01-01Update copyright to 2019.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2019 Anope Team/i' {} \;
2018-06-12Update ircd-hybrid protocol module to support latest version of ircd-hybrid ↵miwob
better
2018-04-25Update copyright to 2018.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2018 Anope Team/i' {} \;
2017-03-19Add channel mode 'u', and 'L' to hybrid protocol module; Remove useless ↵miwob
CAPABs that are mandatory for some years now.
2017-01-17Cleanup some excess whitespaces and tabs, and fix a few typos along the way.Robby
2017-01-16Update copyright to 2017.Robby
This was done with: find docs/ include/ language/ modules/ src/ *.* Config -exec sed -i 's/-20.. Anope Team/-2017 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet.
2016-01-28Update copyright to 2016. This was done with:Robby
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \; Added missing copyright headers to files that didn't have it yet. Fixed some whitespace and blank lines along the way.
2016-01-23Fix hybrid to compileAdam
2016-01-23Merge pull request #145 from miwob/style+copyrightAdam
Style+copyright
2016-01-23Merge pull request #149 from miwob/SendSQLineAdam
Update SendSQLine() in hybrid's protocol module to use non-capsulatet…
2016-01-20Update SendSQLine() in hybrid's protocol module to use non-capsulatet RESV ↵miwob
message
2016-01-19Update SendSGLine() in hybrid's protocol module to add support for temporary ↵miwob
x-lines
2016-01-13hybrid.cpp: clean up style to match with other code; update copyright headermiwob
2015-12-26Add support for channel mode +T to the ircd-hybrid protocol moduleMichael Wobst
2015-12-13hybrid.cpp:SendClientIntroduction(): use a valid IP address format. In the ↵miwob
future ircd-hybrid will reject UID messages with invalid IP addresses
2015-10-24hybrid.cpp: add missing CanSQLineChannel = true; to the protocol optionsmiwob
2015-07-08Fix a ton of typos.Peter Powell
2015-03-12Merge pull request #105 from miwob/master+use-uid-for-svsnickAdam
- Change SendForceNickChange() to use UIDs
2015-03-12Merge pull request #106 from miwob/master+SendClientIntroductionAdam
- Update SendClientIntroduction() to use * for account names instead of ...
2015-03-12Merge pull request #107 from miwob/master+misc-hybrid-changesAdam
- Misc updates to the hybrid protocol modules:
2015-02-15- Misc updates to the hybrid protocol modules:miwob
- best supported version is 8.2.x - fixed UID message handler to cope with account names being '*' - minium required TS version is TS6 now
2015-02-15- Update SendClientIntroduction() to use * for account names instead of 0miwob
2015-02-15- Change SendForceNickChange() to use UIDsmiwob
2015-02-10Merge pull request #102 from miwob/master+protocol-missing-modesAdam
- Added some missing user modes to the ircd-hybrid protocol module
2015-02-08Misc changes to the ircd-hybrid protocol module:miwob
- Increase MaxModes to 6 - SendLogout(): send "+d *" instead of "+d 0" - Update copyright year - Removed user mode +z from supported modes
2015-02-07- Added some missing user modes to the ircd-hybrid protocol modulemiwob
2015-02-06Merge pull request #101 from miwob/master+hybrid-protocol-no-globops-overrideAdam
- Removed SendGlobopsInternal() override as it's basically a duplicate o...
2015-02-06- Removed SendGlobopsInternal() override as it's basically a duplicate of ↵miwob
SendGlobopsInternal() in protocol.c
2015-02-06- Update ircd-hybrid protocol module to support channel mode 'C' (no CTCPs)miwob
2015-01-28More properly track topic change sources and allow users with access to ↵Adam
change topics through topiclock
2014-06-19hybrid.cpp: add our own SendInvite() which sends the channel's timestamp ↵miwob
along the INVITE command. INVITE with channel TS will be mandatory in some future release of ircd-hybrid
2014-05-13Update ircd-hybrid protocol moduleMichael Wobst
2014-04-18Remove unused event.Adam
Mark some oper only usermodes as oper only. Fix reading SID in TS6_SID_Retrieve
2014-04-02Set minus no arg on +l in all proto modsAdam
Set oper modes/vhost on oper too, evan after iding Add umode +q to plexus
2014-02-27Hybrid does not let us add resvs as a server, but the core expects to be ↵Adam
able to qline bot nicks before introducing the bots as a way to prevent collisions, so try harder to find a valid bot to send resvs on startup
2014-02-27Handle nick collisions somewhat instead of blindly overwriting the nicksAdam
in memory, which does weird things. For fun different ircds implement this differently (Unreal compares timestamps, TS6 compares timestamps and user username/host), and whether or not we get a kill for our user also varies, so just kill everyone. This can't really happen anyway with properly set qlines, only if services haven't yet set the qlines, or possibly in a bot add/nick user introduce race, or with enforcers, which not many ircds require.
2014-01-28Use TBURST on hybrid to set topicsAdam
2014-01-21Unbreak account stuff from commit ccae59430ab50393f43ccc38a6a6c0c24191b601.Adam
2014-01-01Update copyright to 2014. This was done with:Adam
find include/ src/ lang/ docs/ modules/ *.* Config -exec sed -i 's/-20.. Anope Team/-2014 Anope Team/i' {} \;