summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-07 23:12:36 +0800
committerwens <wens@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-10-07 23:12:36 +0800
commit5884cbc7af026195dac676763e901c0042364afc (patch)
treed9dcb0098aa446c28f4f5d732770a57361fc0d00
parent9d7bc3427c3ab34354a1ae143669896bf1431c80 (diff)
downloadpttbbs-5884cbc7af026195dac676763e901c0042364afc.tar
pttbbs-5884cbc7af026195dac676763e901c0042364afc.tar.gz
pttbbs-5884cbc7af026195dac676763e901c0042364afc.tar.bz2
pttbbs-5884cbc7af026195dac676763e901c0042364afc.tar.lz
pttbbs-5884cbc7af026195dac676763e901c0042364afc.tar.xz
pttbbs-5884cbc7af026195dac676763e901c0042364afc.tar.zst
pttbbs-5884cbc7af026195dac676763e901c0042364afc.zip
sleep longer when BAN_FILE present
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3441 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
-rw-r--r--util/bbsrf.c2
2 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 53b5662c..e3facc19 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1553,9 +1553,7 @@ shell_login(int argc, char *argv[], char *envp[])
init_tty();
if (check_ban_and_load(0)) {
-#ifdef OVERLOADBLOCKFDS
sleep(10);
-#endif
return 0;
}
#ifdef DETECT_CLIENT
diff --git a/util/bbsrf.c b/util/bbsrf.c
index 27ed9e3a..a2ca235c 100644
--- a/util/bbsrf.c
+++ b/util/bbsrf.c
@@ -70,7 +70,7 @@ int showbanfile(char *filename)
printf("\n============================="
"=============================\n");
fclose(fp);
- sleep(1);
+ sleep(10);
}
return fp ? 0 : -1;
}