From 18ee6bb6f9a16b993407fe27b964071dc2bf9e44 Mon Sep 17 00:00:00 2001 From: Ailin Nemui Date: Sat, 27 Feb 2021 21:05:30 +0100 Subject: [PATCH] queue the who command on join --- src/irc/core/channels-query.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/irc/core/channels-query.c b/src/irc/core/channels-query.c index b90e32f5..4e972121 100644 --- a/src/irc/core/channels-query.c +++ b/src/irc/core/channels-query.c @@ -521,7 +521,8 @@ static void sig_event_join(IRC_SERVER_REC *server, const char *data, const char NULL); cmd = g_strdup_printf(WHO_Ps_PPtna_745, nick); g_hash_table_add(server->chanqueries->accountqueries, g_strdup(nick)); - irc_send_cmd(server, cmd); + /* queue the command */ + irc_send_cmd_full(server, cmd, FALSE, FALSE, FALSE); g_free(cmd); } }