summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/bbs.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c
index fa78a7d6..04114672 100644
--- a/mbbsd/bbs.c
+++ b/mbbsd/bbs.c
@@ -1725,7 +1725,8 @@ del_post(int ent, fileheader_t * fhdr, char *direct)
fhdr->money = hdr.money;
delete_file(genbuf, sizeof(fileheader_t), num, cmpfilename);
}
- inc_badpost(searchuser(fhdr->owner));
+ if (not_owned)
+ inc_badpost(searchuser(fhdr->owner));
cancelpost(fhdr, not_owned);
setbtotal(currbid);