diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 01:13:35 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-08-05 01:13:35 +0800 |
commit | 57bb5ce6886b3e2b19a6376e0173a83efc8a1648 (patch) | |
tree | d24654c2ca0591ac2967f114e527fc86c29cb8f2 /mbbsd/bbs.c | |
parent | acea666b1d2913702055324e5a63f35e18d78250 (diff) | |
download | pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar.gz pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar.bz2 pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar.lz pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar.xz pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.tar.zst pttbbs-57bb5ce6886b3e2b19a6376e0173a83efc8a1648.zip |
make compiler happy
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2985 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r-- | mbbsd/bbs.c | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 2d59ca2e..935de326 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1894,7 +1894,14 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) outs("本人推薦第一次, 使用 → 加註方式\n"); } #ifndef DEBUG - else if (!(currmode & MODE_BOARD)&& now - lastrecommend < 90) + else if (!(currmode & MODE_BOARD) && + (now - lastrecommend) < ( +#if 0 + /* i'm not sure whether this is better or not */ + (bp->brdattr & BRD_NOFASTRECMD) ? + bp->fastrecommend_pause : +#endif + 90)) { // too close type = 2; |