src/s_user: Add metadata for cloaked hostnames for use with services

This commit is contained in:
Sam Dodrill 2014-01-30 22:37:46 -05:00
parent 55147df5de
commit 74289701af
1 changed files with 1 additions and 0 deletions

View File

@ -660,6 +660,7 @@ introduce_client(struct Client *client_p, struct Client *source_p, struct User *
{
sendto_server(client_p, NULL, CAP_TS6, use_euid ? CAP_EUID : NOCAPS, ":%s ENCAP * REALHOST %s",
use_id(source_p), source_p->orighost);
user_metadata_add(source_p, "CLOAKEDHOST", source_p->host, 1);
}
if (!EmptyString(source_p->user->suser))