From 484f322118b5e263d8749742268940486acbcd40 Mon Sep 17 00:00:00 2001 From: piaip Date: Tue, 11 Oct 2005 15:46:27 +0000 Subject: fix a long feast that make statusbar unterminated (ANSI_RESET). git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3221 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) (limited to 'mbbsd/bbs.c') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index f5423fd3..1039e1e4 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2142,7 +2142,11 @@ recommend(int ent, fileheader_t * fhdr, const char *direct) return do_bid(ent, fhdr, bp, direct, ptime); } - if (bp->brdattr & BRD_NOFASTRECMD) + if((currmode & MODE_BOARD) || HasUserPerm(PERM_SYSOP)) + { + /* I'm BM or SYSOP. */ + } + else if (bp->brdattr & BRD_NOFASTRECMD) { int d = (int)bp->fastrecommend_pause - (now - lastrecommend); if (d > 0) -- cgit v1.2.3