From b7ee74ec97d67cc3683eab9f7dd5603bc2b47c20 Mon Sep 17 00:00:00 2001 From: stskeeps Date: Wed, 2 Aug 2000 17:45:14 +0000 Subject: [PATCH] +- Disabled anything with time in /list options temporary, causes bugs --- Changes | 1 + src/channel.c | 5 +++-- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/Changes b/Changes index 0d1292ed0..5757e3d9b 100644 --- a/Changes +++ b/Changes @@ -506,3 +506,4 @@ - +u now lists +a and +q people, and sends JOINs/PARTs to +a and +q people - Fixed a /mode (umode) typo where it said no such channel rather than no such nick, reported by llthangel +- Disabled anything with time in /list options temporary, causes bugs diff --git a/src/channel.c b/src/channel.c index 2677ca91a..bd5cfa2be 100644 --- a/src/channel.c +++ b/src/channel.c @@ -3704,16 +3704,17 @@ void send_list(aClient *cptr, int numsend) && !IsMember(cptr, chptr) && !IsAnOper(cptr)) continue; + if ((!lopt->showall) && ((chptr->users < lopt->usermin) || ((lopt->usermax >= 0) && (chptr->users > lopt->usermax)) || ((chptr->creationtime) <= lopt->chantimemin) - || (chptr->topic_time < + /* || (chptr->topic_time < lopt->topictimemin) || (chptr->creationtime >= lopt->chantimemax) || (chptr->topic_time > - lopt->topictimemax))) + lopt->topictimemax) */)) continue; if (lopt->nolist &&