- use_id(&me), use_id(client), client->host);
- if (irccmp(client->host, client->orighost))
- SetDynSpoof(client);
+ use_id(&me), use_id(client_p), newhost);
+
+ change_nick_user_host(client_p, client_p->name, client_p->username, newhost, 0, "Changing host");
+
+ if (newhost != client_p->orighost)
+ SetDynSpoof(client_p);