]> arthur.barton.de Git - ngircd.git/commit
Implement SVSNICK command to change remote nicknames
authorAlexander Barton <alex@barton.de>
Fri, 2 Nov 2012 16:50:31 +0000 (17:50 +0100)
committerAlexander Barton <alex@barton.de>
Fri, 2 Nov 2012 16:50:31 +0000 (17:50 +0100)
commite3f300d3231f56efe2831fb79f7b484d96d051f5
treefb5c435a67fe2d6628bbc61f89d2ece2a92769c6
parent497edbaf3eb51e6c67975713ee5c52d2d1b48105
Implement SVSNICK command to change remote nicknames

The SVSNICK command allows other servers (and services on
"pseudo-servers") to forcefully change nicknames of remote users.

Syntax: ":<from> SVSNICK <oldnick> <newnick>"

The SVSNICK command itself doesn't change the nickname, but it becomes
forwarded to the server to which the user is connected to. And then this
server initiates the real nickname changing using regular NICK commands.

This allows to still run networks with old servers not supporting the
SVSNICK command, because SVSNICK commands for nicknames on such servers
are silently ignored and don't cause a desync of the network.
src/ngircd/irc-login.c
src/ngircd/irc-login.h
src/ngircd/parse.c