summaryrefslogtreecommitdiffstats
path: root/mbbsd/bbs.c
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
commitd41657f9500867f247edc10376b207218214dd8c (patch)
tree347926ca3cb5a7ad6e73b445805ab1a424095d2f /mbbsd/bbs.c
parent64a2bc80f893b897adde554ed2d9d822d09d1c2d (diff)
downloadpttbbs-d41657f9500867f247edc10376b207218214dd8c.tar
pttbbs-d41657f9500867f247edc10376b207218214dd8c.tar.gz
pttbbs-d41657f9500867f247edc10376b207218214dd8c.tar.bz2
pttbbs-d41657f9500867f247edc10376b207218214dd8c.tar.lz
pttbbs-d41657f9500867f247edc10376b207218214dd8c.tar.xz
pttbbs-d41657f9500867f247edc10376b207218214dd8c.tar.zst
pttbbs-d41657f9500867f247edc10376b207218214dd8c.zip
ifdef ASSESS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1268 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/bbs.c')
-rw-r--r--mbbsd/bbs.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index 3bd64476..759f8379 100644
--- a/mbbsd/bbs.c
+++ b/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);