From 0bf43ef653bb9ea6396ad7ec2cc976234288319c Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 25 Jan 2024 03:45:25 +0200 Subject: [PATCH] send msg_join_extended during chghost fallback --- src/irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); -- 2.56.0