1
0
mirror of https://github.com/osmarks/ngircd.git synced 2025-09-09 05:55:57 +00:00

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.
This commit is contained in:
Alexander Barton
2012-11-24 16:15:35 +01:00
parent dc89e42ef5
commit 35e2dcff88
6 changed files with 121 additions and 60 deletions

View File

@@ -225,6 +225,7 @@ new server link", <serverflag> "M"), even if it doesn't support the given
The following <key> names are defined:
- "host": the hostname of a client (can't be empty)
- "cloakhost": the cloaked hostname of a client
- "info": info text ("real name") of a client
- "user": the user name of a client (can't be empty)