summaryrefslogtreecommitdiffstats
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
commitd17a7554b1d0189bfa82b273080e661ba9634f6e (patch)
tree24c1a9791971cd325242f7861d74474d28f8264f
parentece31d2ba76ba5dae66f3f16d8297c86bca86424 (diff)
downloadpttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar.gz
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar.bz2
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar.lz
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar.xz
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.tar.zst
pttbbs-d17a7554b1d0189bfa82b273080e661ba9634f6e.zip
whether do_allpost
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk@704 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 2f69eeba..65c5408a 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/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;
}