summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c2
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);
}