From 235b0b60ec930c096f4a83391671d5a7ef3f2a7c Mon Sep 17 00:00:00 2001 From: piaip Date: Mon, 20 Feb 2012 06:12:26 +0000 Subject: 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 --- pttbbs/mbbsd/board.c | 4 ++++ 1 file changed, 4 insertions(+) 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) -- cgit v1.2.3