diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-07 19:21:36 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2002-09-07 19:21:36 +0800 |
commit | 180efb41330e92d1eb5f44cbb3a7a8e5e48967b3 (patch) | |
tree | 5ecc3212498de3340bec004918dd9137622c3379 | |
parent | 6dc3f9c35897eb549c38ce07f1c76bbde6a59f8e (diff) | |
download | pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar.gz pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar.bz2 pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar.lz pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar.xz pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.tar.zst pttbbs-180efb41330e92d1eb5f44cbb3a7a8e5e48967b3.zip |
remove unused code
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@516 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/mbbsd.c | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 18672328..9309103e 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.55 2002/09/02 14:57:12 ptt Exp $ */ +/* $Id: mbbsd.c,v 1.56 2002/09/07 11:21:36 in2 Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -510,20 +510,8 @@ login_query() char uid[IDLEN + 1], passbuf[PASSLEN]; int attempts; char genbuf[200]; - //attach_SHM(); resolve_garbage(); now = time(0); - attempts = SHM->UTMPnumber; - if (attempts >= MAX_ACTIVE -#ifdef DYMAX_ACTIVE - || (GLOBALVAR[9] > 1000 && attempts >= GLOBALVAR[9] ) -#endif - ) { - ++GLOBALVAR[8]; - outs("由於人數太多,請您稍後再來。分散流量請到 ptt.cc 或 ptt2.cc\n"); - refresh(); - exit(1); - } #ifdef DEBUG move(1, 0); |