diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-11-20 12:24:32 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2006-11-20 12:24:32 +0800 |
commit | be7df58794a73ccc29639c72806359aeed2d0a66 (patch) | |
tree | 19017a6822e39d95f8ec1492f68b119c27ec776f /mbbsd/mbbsd.c | |
parent | f9cf12182841e312e40b9cb3d63aa93bd26b8010 (diff) | |
download | pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar.gz pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar.bz2 pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar.lz pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar.xz pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.tar.zst pttbbs-be7df58794a73ccc29639c72806359aeed2d0a66.zip |
#define MAX_GUEST
fix util/stock.perl
thanks watch.bbs@ptt2
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3446 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index e3facc19..257c925a 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -600,7 +600,7 @@ multi_user_check(void) } } else { /* allow multiple guest user */ - if (search_ulistn(usernum, 100) != NULL) { + if (search_ulistn(usernum, MAX_GUEST) != NULL) { vmsg("抱歉,目前已有太多 guest 在站上, 請用new註冊。"); exit(1); } |