Skip to content

Command REGAIN/RECOVER #121

@ValwareIRC

Description

@ValwareIRC

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:

  1. 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
  2. Assume the nick of the ghost user
  3. 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?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions