From 43a689285a0f9a5ae322d83d4a829f622ff5bb00 Mon Sep 17 00:00:00 2001 From: victor Date: Sat, 9 Aug 2003 03:43:26 +0000 Subject: ignore hidden boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- pttbbs/util/poststat.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/pttbbs/util/poststat.c b/pttbbs/util/poststat.c index 37bcc399..e46f77a2 100644 --- a/pttbbs/util/poststat.c +++ b/pttbbs/util/poststat.c @@ -1,4 +1,4 @@ -/* $Id: poststat.c,v 1.5 2003/07/20 00:55:34 in2 Exp $ */ +/* $Id$ */ /* 統計今日、週、月、年熱門話題 */ #include "bbs.h" @@ -188,7 +188,7 @@ filter(board) bid = getbnum(board); if (get_record(".BRD", &bh, sizeof(bh), bid) == -1) return 1; - if (bh.brdattr & BRD_NOCOUNT) + if (bh.brdattr & BRD_NOCOUNT || bh.brdattr & BRD_HIDE) return 1; /* if (bh.brdattr & BRD_POSTMASK) -- cgit v1.2.3