From ffc087b854a49a0241de31e5972bc63ff70b7f55 Mon Sep 17 00:00:00 2001 From: Egor Date: Thu, 12 May 2022 21:31:31 +0300 Subject: [PATCH] fix RPL_LISTSTART --- irc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/irc.c b/irc.c index 24abcc0..a099a7c 100644 --- a/irc.c +++ b/irc.c @@ -819,7 +819,7 @@ int processPacket(struct client_data *client, char *source, char *command, int a } else if(strcmp(command, "LIST") == 0) { if (!is_registered(client)) return err_notregistered(client), sendbuf(client), 0; - rpl_listend(client), sendbuf(client); + rpl_liststart(client), sendbuf(client); struct trie_find *f = NULL; if (trie_findfirst(&f, &channel_map) == 1) do { -- 2.56.0