diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-09 11:43:26 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-08-09 11:43:26 +0800 |
commit | 9b2a86587e52268c1d808cbaabc70a4ec6c31f8c (patch) | |
tree | b6493ccbf874cbc407423c15998f4342734814f9 /util/poststat.c | |
parent | f540a93c77169cd0be243f9079f1b79bd221a6d4 (diff) | |
download | pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar.gz pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar.bz2 pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar.lz pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar.xz pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.tar.zst pttbbs-9b2a86587e52268c1d808cbaabc70a4ec6c31f8c.zip |
ignore hidden boards
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1088 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'util/poststat.c')
-rw-r--r-- | util/poststat.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/util/poststat.c b/util/poststat.c index 37bcc399..e46f77a2 100644 --- a/util/poststat.c +++ b/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) |