Skip to content

Commit

Permalink
comment here too why not
Browse files Browse the repository at this point in the history
  • Loading branch information
jesopo committed Feb 2, 2024
1 parent abc23d5 commit a02a6fa
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions modules/core/m_nick.c
Original file line number Diff line number Diff line change
Expand Up @@ -690,6 +690,7 @@ change_local_nick(struct Client *client_p, struct Client *source_p,
call_hook(h_local_nick_change_approve, &hook_approve);

if (!hook_approve.approved) {
/* send the same error they'd get if this nick was RESV */
sendto_one(source_p, form_str(ERR_ERRONEUSNICKNAME),
me.name, EmptyString(source_p->name) ? "*" : source_p->name, nick);
return;
Expand Down

0 comments on commit a02a6fa

Please sign in to comment.