summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-12 09:42:23 +0800
committerkcwu <kcwu@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2007-12-12 09:42:23 +0800
commit9a12adf6d29cdefc98afe2566a9e5479489f111b (patch)
tree6e2b911398cb6dcb08b183ab645817e098182968 /mbbsd/user.c
parent3d16ea67c380607528e7c8df0b2cc5a2f2636b9f (diff)
downloadpttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar.gz
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar.bz2
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar.lz
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar.xz
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.tar.zst
pttbbs-9a12adf6d29cdefc98afe2566a9e5479489f111b.zip
* extract common functions as library.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3673 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index 889bc9b0..f2475e95 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -100,7 +100,7 @@ int u_cancelbadpost(void)
cuser.badpost--;
cuser.timeremovebadpost = now;
passwd_update(usernum, &cuser);
- log_file("log/cancelbadpost.log", LOG_VF|LOG_CREAT,
+ log_filef("log/cancelbadpost.log", LOG_CREAT,
"%s %s 刪除一篇劣文\n", Cdate(&now), cuser.userid);
}
vmsg("恭喜您已經成功\刪除一篇劣文.");