summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/user.c')
-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;