From 7986c60cafb36fe29f73e9cc9f18cfef610fed84 Mon Sep 17 00:00:00 2001 From: in2 Date: Sun, 16 Nov 2003 03:35:44 +0000 Subject: fix bug in b_changerecommend git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 1 + 1 file changed, 1 insertion(+) (limited to 'mbbsd') diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 6601dbd0..63c44ac6 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2331,6 +2331,7 @@ b_changerecommend(int ent, fileheader_t * fhdr, char *direct) { boardheader_t *bp=NULL; if (!((currmode & MODE_BOARD) || HAS_PERM(PERM_SYSOP))) + return DONOTHING; bp = getbcache(currbid); bp->brdattr ^= BRD_NORECOMMEND; substitute_record(fn_board, bp, sizeof(boardheader_t), currbid); -- cgit v1.2.3