diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-16 11:35:44 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-11-16 11:35:44 +0800 |
commit | c72d2bd6a04381c1957605a3625e39f152cce686 (patch) | |
tree | 2c7f0525f42a8b106650e234bc928439a629ecfb | |
parent | 57a55751e6db4702375a0c9353b8d394450a6645 (diff) | |
download | pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar.gz pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar.bz2 pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar.lz pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar.xz pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.tar.zst pttbbs-c72d2bd6a04381c1957605a3625e39f152cce686.zip |
fix bug in b_changerecommend
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1348 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/bbs.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c index 6601dbd0..63c44ac6 100644 --- a/pttbbs/mbbsd/bbs.c +++ b/pttbbs/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); |