summaryrefslogtreecommitdiffstats
path: root/mbbsd/edit.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 15:59:32 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2008-05-08 15:59:32 +0800
commit133c8925067a703dfef58607fd2ca636fa3b2922 (patch)
treedeb7f25fdecaaba2f7dc6c57023fb97a79325ca8 /mbbsd/edit.c
parentba4849655123ccf17feb52aea447a4b52a114928 (diff)
downloadpttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.gz
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.bz2
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.lz
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.xz
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.tar.zst
pttbbs-133c8925067a703dfef58607fd2ca636fa3b2922.zip
- (internal) replace ctime4 by Cdate, prevent developer confused by the the trailing '\n'.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4278 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r--mbbsd/edit.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 965c9dbd..7c554e03 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -3326,7 +3326,7 @@ vedit2(const char *fpath, int saveheader, int *islocal, int flags)
/*
log_file("etc/illegal_money", LOG_CREAT | LOG_VF,
ANSI_COLOR(1;33;46) "%s " ANSI_COLOR(37;45) " 用機器人發表文章 " ANSI_COLOR(37) " %s" ANSI_RESET "\n",
- cuser.userid, ctime4(&now));
+ cuser.userid, Cdate(&now));
post_violatelaw(cuser.userid, BBSMNAME "系統警察",
"用機器人發表文章", "強制離站");
abort_bbs(0);