]> PatchyGit - patchyircd.git/commitdiff
fix RPL_LISTSTART
authorEgor <egor@patchysicp.xyz>
Thu, 12 May 2022 18:31:31 +0000 (21:31 +0300)
committerEgor <egor@patchysicp.xyz>
Thu, 12 May 2022 18:31:31 +0000 (21:31 +0300)
irc.c

diff --git a/irc.c b/irc.c
index 24abcc0..a099a7c 100644 (file)
--- 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 {