summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 02:10:11 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 02:10:11 +0800
commit5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab (patch)
tree6615defa76a95b8f6cbf5ddbdd82daff4ed0bc33
parentd460d838fbbcff615b271edc73c1985142742d30 (diff)
downloadpttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar.gz
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar.bz2
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar.lz
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar.xz
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.tar.zst
pttbbs-5fda87b53a5cb68eb4f36e3ba3f5783cb29745ab.zip
add time in the cancel-bad-post log.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3264 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index ed04cb87..3060b88d 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -99,7 +99,7 @@ int u_cancelbadpost(void)
cuser.timeremovebadpost = now;
passwd_update(usernum, &cuser);
log_file("log/cancelbadpost.log", LOG_VF|LOG_CREAT,
- "%s 刪除一篇劣文\n", cuser.userid);
+ "%s %s 刪除一篇劣文\n", Cdate(&now), cuser.userid);
}
vmsg("恭喜您已經成功\刪除一篇劣文.");
return 0;