}
/* Set fakehost and propagate the changed host. */
- ircd_strncpy(cli_user(target)->username, parv[2], USERLEN);
ircd_strncpy(cli_user(target)->fakehost, parv[3], HOSTLEN);
- hide_hostmask(target, FLAG_FAKEHOST);
+ hide_ident_hostmask(target, FLAG_FAKEHOST, parv[2]);
sendcmdto_serv_butone(sptr, CMD_FAKEHOST2, cptr, "%C %s %s", target, parv[2], parv[3]);