X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/29d224a1f804c0c159bf52e6a939f93ff07b5bbb..bd0d352f12ee12bbe14b43c4eed9fbc74c51ac00:/extensions/ip_cloaking_4.0.c diff --git a/extensions/ip_cloaking_4.0.c b/extensions/ip_cloaking_4.0.c index e0ce6d55..9e4e729e 100644 --- a/extensions/ip_cloaking_4.0.c +++ b/extensions/ip_cloaking_4.0.c @@ -51,17 +51,17 @@ distribute_hostchange(struct Client *client_p, char *newhost) { if (newhost != client_p->orighost) sendto_one_numeric(client_p, RPL_HOSTHIDDEN, "%s :is now your hidden host", - client_p->host); + newhost); else sendto_one_numeric(client_p, RPL_HOSTHIDDEN, "%s :hostname reset", - client_p->host); + newhost); sendto_server(NULL, NULL, CAP_EUID | CAP_TS6, NOCAPS, ":%s CHGHOST %s :%s", - use_id(&me), use_id(client_p), client_p->host); + use_id(&me), use_id(client_p), newhost); sendto_server(NULL, NULL, CAP_TS6, CAP_EUID, ":%s ENCAP * CHGHOST %s :%s", - use_id(&me), use_id(client_p), client_p->host); + use_id(&me), use_id(client_p), newhost); change_nick_user_host(client_p, client_p->name, client_p->username, newhost, 0, "Changing host");