diff options
-rw-r--r-- | mbbsd/bbs.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 5c0b914b..2f69eeba 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -1,4 +1,4 @@ -/* $Id: bbs.c,v 1.81 2003/03/18 14:27:13 victor Exp $ */ +/* $Id: bbs.c,v 1.82 2003/03/20 14:46:50 in2 Exp $ */ #include "bbs.h" static void @@ -764,7 +764,10 @@ edit_post(int ent, fileheader_t * fhdr, char *direct) touchdircache(currbid); } - do_allpost(&postfile, fpath, cuser.userid); + if (!(currbrdattr & BRD_HIDE) && + (!bp->level || (currbrdattr & BRD_POSTMASK))) { + do_allpost(&postfile, fpath, cuser.userid); + } return FULLUPDATE; } |