0
0
Fork 0
mirror of https://github.com/matrix-construct/construct synced 2024-11-29 10:12:39 +01:00

Don't send ERR_NICKCOLLISION to a user that will not be killed.

This commit is contained in:
Jilles Tjoelker 2013-03-23 22:57:28 +01:00
parent 6f7b36d5d0
commit ce782b68fe

View file

@ -1025,8 +1025,8 @@ perform_nickchange_collides(struct Client *source_p, struct Client *client_p,
{
ServerStats.is_kill++;
sendto_one_numeric(target_p, ERR_NICKCOLLISION,
form_str(ERR_NICKCOLLISION), target_p->name);
sendto_one_numeric(source_p, ERR_NICKCOLLISION,
form_str(ERR_NICKCOLLISION), source_p->name);
/* kill the client issuing the nickchange */
kill_client_serv_butone(client_p, source_p,