-
Notifications
You must be signed in to change notification settings - Fork 3
Description
A mechanism to allow triggering a nick recovery of a ghosted user, also allowing before/during connection (after SASL).
The wording "ghost user" in the following context, for those to whom it's not clear, means a user who exists on IRC within the short time-frame whose connection has been interrupted/broken, but the upstream server doesn't know it's broken yet and is still waiting for a response, before eventually disconnecting it (usually with the message "Ping timeout").
That is to:
- End the session of a ghost user whose nick is specified by another user who is logged into the same account as the ghost user
- Assume the nick of the ghost user
- Optionally assume any other properties of that user such as inhabited channels or user-modes or metadata.
This is helpful for implementing some kind of rudimentary "session resume" like NickServ's RECOVER/REGAIN does, but since a lot (all?) clients automatically rejoin channels automatically upon reconnect, by implementing this pre-connect can turn this:
* Valware2 joined #chan
* Valware quit (Killed (NickServ (GHOST Command used by Valware2)))
* Valware2 is now known as Valware
Into this:
* Valware quit (Ghost)
* Valware joined #chan
Or even in some special cases...
Heh... I mean, would it even need to be shown at all if it were already the exact same?