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++; ServerStats.is_kill++;
sendto_one_numeric(target_p, ERR_NICKCOLLISION, sendto_one_numeric(source_p, ERR_NICKCOLLISION,
form_str(ERR_NICKCOLLISION), target_p->name); form_str(ERR_NICKCOLLISION), source_p->name);
/* kill the client issuing the nickchange */ /* kill the client issuing the nickchange */
kill_client_serv_butone(client_p, source_p, kill_client_serv_butone(client_p, source_p,