From ce782b68fee608f0267eaedabf92709a80def704 Mon Sep 17 00:00:00 2001 From: Jilles Tjoelker Date: Sat, 23 Mar 2013 22:57:28 +0100 Subject: [PATCH] Don't send ERR_NICKCOLLISION to a user that will not be killed. --- modules/core/m_nick.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/core/m_nick.c b/modules/core/m_nick.c index c70f70d0..bb928f89 100644 --- a/modules/core/m_nick.c +++ b/modules/core/m_nick.c @@ -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,