summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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);