From: Egor Date: Fri, 6 May 2022 18:51:12 +0000 (+0300) Subject: fix NAMES X-Git-Url: https://git.patchysicp.xyz/?a=commitdiff_plain;h=676f912f8eeef82836a9b561b260b83d30b25c57;p=patchyircd.git fix NAMES --- diff --git a/irc.c b/irc.c index 66e7548..eaa7426 100644 --- a/irc.c +++ b/irc.c @@ -662,7 +662,7 @@ void channel_sendnames(struct client_data *client, struct channel *chan) { struct trie_find *f = NULL; databuf.len = 0; - if (trie_findfirst(&f, &client_map) == 1) + if (trie_findfirst(&f, &chan->members) == 1) do { struct client_data *cl = f->n->value; if (rpl_namreply(client, chan, cl)) {