mirror of
https://github.com/unrealircd/unrealircd.git
synced 2026-07-04 22:03:12 +02:00
Fix forced nick change not showing if you were not in any channels.
Eg with anope with the KILL option turned ON, a minute after taking
a registered a nick.
Very similar to c9b88343e2 which was
fixed in 5.0.0-beta1 for non-forced nick changes.
This commit is contained in:
@@ -96,6 +96,7 @@ CMD_FUNC(cmd_svsnick)
|
||||
/* no 'recv_mtags' here, we do not inherit from SVSNICK but generate a new NICK event */
|
||||
new_message(acptr, NULL, &mtags);
|
||||
sendto_local_common_channels(acptr, NULL, 0, mtags, ":%s NICK :%s", acptr->name, parv[2]);
|
||||
sendto_one(acptr, mtags, ":%s NICK :%s", acptr->name, parv[2]);
|
||||
sendto_server(NULL, 0, 0, mtags, ":%s NICK %s :%ld", acptr->id, parv[2], atol(parv[3]));
|
||||
free_message_tags(mtags);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user