From f0356d2a6f6447caa632667a04d4f5f0020a90d0 Mon Sep 17 00:00:00 2001 From: jesopo Date: Thu, 12 Nov 2020 21:10:08 +0000 Subject: [PATCH] iter lists backwards when sending BMASK --- ircd/s_serv.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ircd/s_serv.c b/ircd/s_serv.c index 836c204e..83511349 100644 --- a/ircd/s_serv.c +++ b/ircd/s_serv.c @@ -551,7 +551,7 @@ burst_modes_TS6(struct Client *client_p, struct Channel *chptr, me.id, (long) chptr->channelts, chptr->chname, flag); t = buf + mlen; - RB_DLINK_FOREACH(ptr, list->head) + RB_DLINK_FOREACH_PREV(ptr, list->tail) { banptr = ptr->data;