]> arthur.barton.de Git - ngircd-alex.git/blobdiff - src/ngircd/irc-channel.c
Implement numeric RPL_LISTSTART(321)
[ngircd-alex.git] / src / ngircd / irc-channel.c
index c7a3e1b31e7f8b81e79f8d8854446965fb0f3351..4ea25bb044e61d7744e0d427faac7a35fa44e3f8 100644 (file)
@@ -597,6 +597,10 @@ IRC_LIST( CLIENT *Client, REQUEST *Req )
                }
        }
 
+       /* Send list head */
+       if (!IRC_WriteStrClient(from, RPL_LISTSTART_MSG, Client_ID(from)))
+               return DISCONNECTED;
+
        while (pattern) {
                /* Loop through all the channels */
                if (Req->argc > 0)