diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-23 19:33:01 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-08-23 19:33:01 +0800 |
commit | bc71e83b569d1297713d0cb77c2d5c2e6a59e587 (patch) | |
tree | 435054c4736dcbbc72691c0068eb70c23de69f14 /mbbsd/mbbsd.c | |
parent | 671f4230e66648af769f0c210c61e6387c1ef2ca (diff) | |
download | pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.gz pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.bz2 pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.lz pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.xz pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.tar.zst pttbbs-bc71e83b569d1297713d0cb77c2d5c2e6a59e587.zip |
DYMAX_ACTIVE
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@487 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 3d626a59..29121dd9 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.48 2002/08/20 17:19:11 in2 Exp $ */ +/* $Id: mbbsd.c,v 1.49 2002/08/23 11:33:01 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -523,7 +523,11 @@ login_query() show_file("etc/Welcome", 1, -1, NO_RELOAD); #endif output("1", 1); - if (attempts >= MAX_ACTIVE) { + if (attempts >= MAX_ACTIVE +#ifdef DYMAX_ACTIVE + || (GLOBALVAR[9] > 1000 && attempts >= GLOBALVAR[9] ) +#endif + ) { outs("由於人數太多,請您稍後再來。\n"); refresh(); exit(1); |