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.
This commit is contained in:
parent
45ed883584
commit
0351022738
1 changed files with 2 additions and 1 deletions
|
@ -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 */
|
||||
|
|
Loading…
Reference in a new issue