diff options
Diffstat (limited to 'mbbsd/edit.c')
-rw-r--r-- | mbbsd/edit.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/edit.c b/mbbsd/edit.c index 8abf2f19..390901b0 100644 --- a/mbbsd/edit.c +++ b/mbbsd/edit.c @@ -1783,10 +1783,10 @@ vedit(char *fpath, int saveheader, int *islocal) last = (char)ch; } } - if (interval && interval == tin) - { + if (interval && (interval > tin-2) && (interval < tin+2)) + { // Ptt : +- 1 秒也算 count++; - if(count>500) + if(count>60) { log_file("etc/illegal_money", LOG_CREAT | LOG_VF, "\033[1;33;46m%s \033[37;45m 用機器人發表文章 \033[37m %s\033[m\n", |