]> arthur.barton.de Git - ngircd.git/commit
Rework cloaked hostname handling, implement "METADATA cloakhost"
authorAlexander Barton <alex@barton.de>
Sat, 24 Nov 2012 15:15:35 +0000 (16:15 +0100)
committerAlexander Barton <alex@barton.de>
Sat, 24 Nov 2012 15:15:35 +0000 (16:15 +0100)
commit35e2dcff88e29617db0e5af1d016ab76a31ab677
treecc907e5bd4009a180f5a2bcab4d655b1c381156a
parentdc89e42ef5a60dda96707d2520fad998bf9ac74f
Rework cloaked hostname handling, implement "METADATA cloakhost"

Now ngIRCd uses two fields internally, one to store the "real" hostname
and one to save the "cloaked" hostname. And both fields can be set
independently using the "METADATA host" and "METADATA cloakhost" commands.

This allows "foreign servers" (aka "IRC services") to alter the real and
cloaked hostnames of clients without problems, even when the user itself
issues additional "MODE +x" and "MODE -x" commands.
doc/Protocol.txt
src/ngircd/client.c
src/ngircd/client.h
src/ngircd/irc-metadata.c
src/ngircd/irc-mode.c
src/ngircd/numeric.c