summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index 54930204..f357f1e3 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -1234,7 +1234,7 @@ scan_register_form(char *regfile, int automode, int neednum)
default:
outs("以下使用者資料已經更新:\n");
mail_muser(muser, "[註冊成功\囉]", "etc/registered");
-#ifdef FOREIGN_REG
+#ifdef FOREIGN_REG_DAY > 0
if(muser.uflag2 & FOREIGN)
mail_muser(muser, "[出入境管理局]", "etc/foreign_welcome");
#endif