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:
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++;
|
||||
|
||||
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,
|
||||
|
|
Loading…
Reference in a new issue