X-Git-Url: https://jfr.im/git/solanum.git/blobdiff_plain/dd2654fadb5af2f9ee7fd445829b7ef2e1316dc1..bd0d352f12ee12bbe14b43c4eed9fbc74c51ac00:/extensions/ip_cloaking_3.0.c diff --git a/extensions/ip_cloaking_3.0.c b/extensions/ip_cloaking_3.0.c index 136c3016..470ba015 100644 --- a/extensions/ip_cloaking_3.0.c +++ b/extensions/ip_cloaking_3.0.c @@ -48,17 +48,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");