From c21e9c756e44551834565b5f63fb30ee781e3268 Mon Sep 17 00:00:00 2001 From: scw Date: Wed, 14 Dec 2005 14:30:18 +0000 Subject: fix last commit git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/bbs.c | 3 +++ 1 file changed, 3 insertions(+) diff --git a/mbbsd/bbs.c b/mbbsd/bbs.c index 8126f3b1..a3254707 100644 --- a/mbbsd/bbs.c +++ b/mbbsd/bbs.c @@ -2489,9 +2489,11 @@ del_post(int ent, fileheader_t * fhdr, char *direct) { fileheader_t report_fh; char report_path[PATHLEN]; + setbpath(report_path, BAD_POST_RECORD); stampfile(report_path, &report_fh); + strcpy(report_fh.owner, "[Ptt警察局]"); snprintf(report_fh.title, sizeof(report_fh.title), "%s 板 %s 板主給予 %s 一篇劣文", currboard, cuser.userid, userid); @@ -2499,6 +2501,7 @@ del_post(int ent, fileheader_t * fhdr, char *direct) setbdir(report_path, BAD_POST_RECORD); append_record(report_path, &report_fh, sizeof(report_fh)); + touchbtotal(currbid); } #endif /* defined(BAD_POST_RECORD) */ } -- cgit v1.2.3