summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--mbbsd/register.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 5b278584..8554c1e9 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -1449,10 +1449,10 @@ u_register(void)
prints("%s(%s) 您好,請據實填寫以下的資料:",
cuser.userid, cuser.nickname);
#ifdef FOREIGN_REG
- fore[0] = 'y';
+ fore[0] = 0;
fore[1] = 0;
getfield(2, "Y/n", REGNOTES_ROOT "foreign", "是否現在住在台灣", fore, 2);
- if (fore[0] == 'n')
+ if (fore[0] == 'n' || fore[0] == 'N')
fore[0] |= FOREIGN;
else
fore[0] = 0;