summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-14 01:29:05 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-10-14 01:29:05 +0800
commit16f861e6353122f4baa594c4e469c06866e85d2a (patch)
tree5b80fed8badb55d558e50a9adfb710cd512f4ec5
parentde365dd160994261b552ed7c82f2d3631cfbee6a (diff)
downloadpttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar.gz
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar.bz2
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar.lz
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar.xz
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.tar.zst
pttbbs-16f861e6353122f4baa594c4e469c06866e85d2a.zip
When find roboti posting,
don't force leaving bbs but set the money of the post to be 0. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2250 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/edit.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c
index 390901b0..7bf14726 100644
--- a/mbbsd/edit.c
+++ b/mbbsd/edit.c
@@ -1786,14 +1786,18 @@ vedit(char *fpath, int saveheader, int *islocal)
if (interval && (interval > tin-2) && (interval < tin+2))
{ // Ptt : +- 1 秒也算
count++;
- if(count>60)
+ if(count>100)
{
+ 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);
+*/
}
}
else if(interval){