summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-27 10:19:58 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-10-27 10:19:58 +0800
commit31824a1ff99d025200eebed5ffe2ccc6490cb1af (patch)
tree4dcf50e312065964572763c709471e4b7b36ca80
parent8792923d30c24f8ad55d30152b89cc7ec1a6101c (diff)
downloadpttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar.gz
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar.bz2
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar.lz
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar.xz
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.tar.zst
pttbbs-31824a1ff99d025200eebed5ffe2ccc6490cb1af.zip
ifdef ASSESS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@1268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/bbs.c b/pttbbs/mbbsd/bbs.c
index 3bd64476..759f8379 100644
--- a/pttbbs/mbbsd/bbs.c
+++ b/pttbbs/mbbsd/bbs.c
@@ -1742,8 +1742,10 @@ del_post(int ent, fileheader_t * fhdr, char *direct)
fhdr->money = hdr.money;
delete_file(genbuf, sizeof(fileheader_t), num, cmpfilename);
}
+#ifdef ASSESS
if (not_owned)
inc_badpost(searchuser(fhdr->owner), 1);
+#endif
cancelpost(fhdr, not_owned);
setbtotal(currbid);