summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 02:04:03 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 02:04:03 +0800
commit837ad956ed701a62a31b60e2f2f8198806b66a3c (patch)
tree12bfebada377e3f2479cd88bf6fe931bcfdf494b /mbbsd
parentd1d89bad6d9ff63eb54255d298693a466e63c459 (diff)
downloadpttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar.gz
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar.bz2
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar.lz
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar.xz
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.tar.zst
pttbbs-837ad956ed701a62a31b60e2f2f8198806b66a3c.zip
add log for canceling bad post.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3262 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index a9edf6f3..53d32ffb 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -98,6 +98,8 @@ int u_cancelbadpost(void)
cuser.badpost--;
cuser.timeremovebadpost = now;
passwd_update(usernum, &cuser);
+ log_file("log/cancelbadpost.log", LOG_VF|LOG_CREAT,
+ "%s 刪除一篇劣文", cuser.userid);
}
vmsg("恭喜您已經成功刪除一篇劣文.");
return 0;