From 03510227383f6960bab1aac757411f670e15848a Mon Sep 17 00:00:00 2001
From: William Pitcock <nenolod@dereferenced.org>
Date: Sat, 2 Jul 2011 19:52:12 -0500
Subject: [PATCH] RSFNC: allow RSFNC against a target which just changes the
 capitalization of the nickname

this is useful for gently changing a nickname from ReTARDeDNICk to Retardednick, see
ns_cleannick in atheme git.
---
 modules/m_services.c | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/modules/m_services.c b/modules/m_services.c
index 26cf3575..1bbc4db6 100644
--- a/modules/m_services.c
+++ b/modules/m_services.c
@@ -187,7 +187,7 @@ me_rsfnc(struct Client *client_p, struct Client *source_p,
 		 * safety --anfl
 		 */
 		if(target_p == exist_p)
-			return 0;
+			goto doit;
 
 		if(MyClient(exist_p))
 			sendto_one(exist_p, ":%s KILL %s :(Nickname regained by services)",
@@ -209,6 +209,7 @@ me_rsfnc(struct Client *client_p, struct Client *source_p,
 		exit_client(NULL, exist_p, &me, buf);
 	}
 
+doit:
 	newts = atol(parv[3]);
 
 	/* timestamp is older than 15mins, ignore it */