summaryrefslogtreecommitdiffstats
path: root/mbbsd/user.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-16 23:58:28 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-02-16 23:58:28 +0800
commita3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7 (patch)
treec1b7ac718fd454926032af88a9e3153364fd54de /mbbsd/user.c
parent7ded7e3cd2c429bae15373783c71990f83ea9bc5 (diff)
downloadpttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar.gz
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar.bz2
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar.lz
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar.xz
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.tar.zst
pttbbs-a3a5f8d1ae0d0cb183cbdce06c00fcc5618ea1b7.zip
missing #ifdef/endif pair
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2515 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r--mbbsd/user.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c
index c44d4112..18ee988b 100644
--- a/mbbsd/user.c
+++ b/mbbsd/user.c
@@ -1426,8 +1426,10 @@ u_register(void)
exit(0);
}
mail_muser(cuser, "[註冊成功\囉]", "etc/registeredmail");
+#ifdef FOREIGN_REG
if(cuser.uflag2 & FOREIGN)
mail_muser(cuser, "[出入境管理局]", "etc/foreign_welcome");
+#endif
cuser.userlevel |= (PERM_LOGINOK | PERM_POST);
outs("\n註冊成功\, 重新上站後將取得完整權限\n"
"請按下任一鍵跳離後重新上站~ :)");