Skip to content

Commit

Permalink
Fix NICK change showing up twice with SVSNICK.
Browse files Browse the repository at this point in the history
  • Loading branch information
syzop committed May 27, 2020
1 parent 8213eca commit 7b211ef
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/modules/svsnick.c
Expand Up @@ -95,7 +95,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_local_common_channels(acptr, acptr, 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);
Expand Down

0 comments on commit 7b211ef

Please sign in to comment.