From a80eb78a018c5d0746d734971b7f34b0e9dc7b4e Mon Sep 17 00:00:00 2001 From: victor Date: Tue, 14 Oct 2003 15:55:57 +0000 Subject: do not increase badpost, when delete one's own article git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1245 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'mbbsd') 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); -- cgit v1.2.3