mirror of
https://github.com/jlu5/PyLink.git
synced 2024-11-27 21:19:31 +01:00
docs/t: add SVSNICK to hooks reference
This commit is contained in:
parent
5c7524bcf3
commit
72eb04ebc6
@ -130,6 +130,10 @@ The following hooks represent regular IRC commands sent between servers.
|
|||||||
- **SAVE**: `{'target': 'UID8', 'ts': 1234567892, 'oldnick': 'Abracadabra'}`
|
- **SAVE**: `{'target': 'UID8', 'ts': 1234567892, 'oldnick': 'Abracadabra'}`
|
||||||
- For protocols that use TS6-style nick saving. During nick collisions, instead of killing the losing client, servers that support SAVE will send such a command targeting the losing client, which forces that user's nick to their UID.
|
- For protocols that use TS6-style nick saving. During nick collisions, instead of killing the losing client, servers that support SAVE will send such a command targeting the losing client, which forces that user's nick to their UID.
|
||||||
|
|
||||||
|
- **SVSNICK**: `{'target': 'UID1', 'newnick': 'abcd'}`
|
||||||
|
- PyLink does not comply with SVSNICK requests, but instead forwards it to plugins that listen for it.
|
||||||
|
- Relay, for example, treats SVSNICK as a cue to force tag nicks.
|
||||||
|
|
||||||
- **VERSION**: `{}`
|
- **VERSION**: `{}`
|
||||||
- This is used for protocols that send VERSION requests between servers when a client requests it (e.g. `/raw version pylink.local`).
|
- This is used for protocols that send VERSION requests between servers when a client requests it (e.g. `/raw version pylink.local`).
|
||||||
- `coreplugin` automatically handles this by responding with a 351 numeric, with the data being the output of `utils.fullVersion(irc)`.
|
- `coreplugin` automatically handles this by responding with a 351 numeric, with the data being the output of `utils.fullVersion(irc)`.
|
||||||
|
Loading…
Reference in New Issue
Block a user