Don't send ERR_NICKCOLLISION to a user that will not be killed.
This commit is contained in:
parent
6f7b36d5d0
commit
ce782b68fe
1 changed files with 2 additions and 2 deletions
|
@ -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,
|
||||||
|
|
Loading…
Reference in a new issue