From 9ef3d37fad2ba89a358d47dc7f3d6720940c8a47 Mon Sep 17 00:00:00 2001 From: ptt Date: Wed, 13 Oct 2004 17:31:37 +0000 Subject: don't need to log file git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2251 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/edit.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 7bf14726..74eca7c5 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1786,14 +1786,14 @@ vedit(char *fpath, int saveheader, int *islocal) if (interval && (interval > tin-2) && (interval < tin+2)) { // Ptt : +- 1 秒也算 count++; - if(count>100) + if(count>60) { money = 0; count = 0; +/* log_file("etc/illegal_money", LOG_CREAT | LOG_VF, "\033[1;33;46m%s \033[37;45m 用機器人發表文章 \033[37m %s\033[m\n", cuser.userid, ctime(&now)); -/* post_violatelaw(cuser.userid, "Ptt系統警察", "用機器人發表文章", "強制離站"); abort_bbs(0); -- cgit v1.2.3