Tip of the day: Use set::restrict-commands to prevent new users from executing certain commands like LIST. Useful against drones/spam.

Server protocol:SVSLOGIN command

From UnrealIRCd documentation wiki
Jump to navigation Jump to search

The SVSLOGIN command is used by services mainly to log a user into their account.

For server writers

Below is technical documentation for server/services coders:

Syntax

:server SVSLOGIN <propagation mask> <nick/uid> <account>

You can also logout by using 0 in place of an account name:

:server SVSLOGIN <propagation mask> <nick/uid> 0

Where:

  • propagation mask: This is always *.
  • nick/UID: A nick or UID as a target for who is being logged in.
  • account name: The name or ID associated with the account.

Example

:123 SVSLOGIN * 001D7D7D7 SuperBot


Purpose

The purpose of this command is for services packages and/or other pseudoserver which provides authentication to be able to tell UnrealIRCd that a user is associated with an account (logged in).

Module Coders

Module coders won't really need to worry about this U-Line command, and should instead take a look at user_account_login().