Forward port 2.10.11 /whois CPU limiter.
[ircu2.10.12-pk.git] / ircd / channel.c
index b67c862997d6ec20b2f650dd7e8f4da6060ad825..be0e3367156ff3bc05dcacf032606001731a8a2a 100644 (file)
@@ -1347,7 +1347,7 @@ void list_next_channels(struct Client *cptr, int nr)
       if (!cli_user(cptr))
         continue;
       if (!(HasPriv(cptr, PRIV_LIST_CHAN) && IsAnOper(cptr)) && 
-          SecretChannel(chptr) && !find_channel_member(cptr, chptr)))
+          SecretChannel(chptr) && !find_channel_member(cptr, chptr))
         continue;
       if (chptr->users > args->min_users && chptr->users < args->max_users &&
           chptr->creationtime > args->min_time &&