diff options
author | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-12-14 22:30:18 +0800 |
---|---|---|
committer | scw <scw@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-12-14 22:30:18 +0800 |
commit | c21e9c756e44551834565b5f63fb30ee781e3268 (patch) | |
tree | bf064f4c7ae4dec48e8ccaf5b863b162c4d2b4bb /mbbsd | |
parent | 58f876da2d247c7c19d033e7e873844d45603d3b (diff) | |
download | pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar.gz pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar.bz2 pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar.lz pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar.xz pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.tar.zst pttbbs-c21e9c756e44551834565b5f63fb30ee781e3268.zip |
fix last commit
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3255 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/bbs.c | 3 |
1 files changed, 3 insertions, 0 deletions
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) */ } |