diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-02-20 14:12:26 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2012-02-20 14:12:26 +0800 |
commit | 235b0b60ec930c096f4a83391671d5a7ef3f2a7c (patch) | |
tree | edfd8069469247fe6c341c4a7aaaa1d34ecf8eec | |
parent | cd137d6a2bfbd419b952aad28264a73af8a22228 (diff) | |
download | pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar.gz pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar.bz2 pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar.lz pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar.xz pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.tar.zst pttbbs-235b0b60ec930c096f4a83391671d5a7ef3f2a7c.zip |
Add the ability to prevent displaying popularity when board is in hidden state.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5567 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/board.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/board.c b/pttbbs/mbbsd/board.c index 4838bfe8..4d1da191 100644 --- a/pttbbs/mbbsd/board.c +++ b/pttbbs/mbbsd/board.c @@ -1413,6 +1413,10 @@ show_brdlist(int head, int clsflag, int newflag) if (0) #endif outs("ĀR "); +#ifdef DISABLE_HIDDEN_BOARD_POPULARITY + else if (B_BH(ptr)->brdattr & BRD_HIDE) + outs(" "); +#endif else if (B_BH(ptr)->nuser <= 0) prints(" %c ", B_BH(ptr)->bvote ? 'V' : ' '); else if (B_BH(ptr)->nuser <= 10) |