summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-20 23:10:49 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-03-20 23:10:49 +0800
commit34dda37e2153688e125f9931b1252c3962e661ab (patch)
tree27efcd9795ac1505bd6e421ae8097898f90624d7 /mbbsd/bbs.c
parent8b23197d15e24e313858c3ae6a84935e50b5c8af (diff)
downloadpttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar.gz
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar.bz2
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar.lz
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar.xz
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.tar.zst
pttbbs-34dda37e2153688e125f9931b1252c3962e661ab.zip
whether do_allpost
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 2f69eeba..65c5408a 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1,4 +1,4 @@
-/* $Id: bbs.c,v 1.82 2003/03/20 14:46:50 in2 Exp $ */
+/* $Id: bbs.c,v 1.83 2003/03/20 15:10:49 victor Exp $ */
#include "bbs.h"
static void
@@ -764,10 +764,8 @@ edit_post(int ent, fileheader_t * fhdr, char *direct)
touchdircache(currbid);
}
- if (!(currbrdattr & BRD_HIDE) &&
- (!bp->level || (currbrdattr & BRD_POSTMASK))) {
+ if (!(currbrdattr & BRD_HIDE) && (!bp->level || (currbrdattr & BRD_POSTMASK)))
do_allpost(&postfile, fpath, cuser.userid);
- }
return FULLUPDATE;
}