From: Egor Date: Thu, 25 Jan 2024 01:45:25 +0000 (+0200) Subject: send msg_join_extended during chghost fallback X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=0bf43ef653bb9ea6396ad7ec2cc976234288319c;p=patchyircd.git send msg_join_extended during chghost fallback --- diff --git a/src/irc.c b/src/irc.c index 4c06411..d468a41 100644 --- a/src/irc.c +++ b/src/irc.c @@ -1500,7 +1500,7 @@ void client_chghost(struct client_data *client, const char *newusername, const c map_foreach(&client->channels, 0, &chan) { msg_join(client, chan); sendbuf_list_sans_self_caps(client, &chan->members, 0, 0, CAP_EXTENDEDJOIN|CAP_CHGHOST); - msg_join(client, chan); + msg_join_extended(client, chan); sendbuf_list_sans_self_caps(client, &chan->members, 0, CAP_EXTENDEDJOIN, CAP_CHGHOST); if (map_get(&chan->v, client->key)) { copy_strf(&databuf, ":cia!cia@cia.gov MODE %s +v %s\r\n", chan->name, client->nick);