summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 9ccc68a3..f75088c4 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -61,6 +61,11 @@ bad_user_id(const char *userid)
if (strcasecmp(userid, str_new) == 0)
return 1;
+#ifdef NO_GUEST_ACCOUNT_REG
+ if (strcasecmp(userid, STR_GUEST) == 0)
+ return 1;
+#endif
+
/* in2: 原本是用strcasestr,
不過有些人中間剛剛好出現這個字應該還算合理吧? */
if( strncasecmp(userid, "fuck", 4) == 0 ||