summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-20 22:46:50 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-20 22:46:50 +0800
commit8b23197d15e24e313858c3ae6a84935e50b5c8af (patch)
tree196e52d8701f8c56223eb46313a52d178701e879 /mbbsd/bbs.c
parentbf93dae7d3f658447897c797bc5828eb0e4ded80 (diff)
downloadpttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar.gz
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar.bz2
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar.lz
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar.xz
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.tar.zst
pttbbs-8b23197d15e24e313858c3ae6a84935e50b5c8af.zip
do NOT post edited article to ALLPOST in hidden board
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@703 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c7
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;
}