diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-12 20:47:18 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-12 20:47:18 +0800 |
commit | 878bcdc81ea3ede5fb409493dd28707b12f53aef (patch) | |
tree | 1eca3ecbac8e3c4adfe7d8cfbbf41e3552235b02 /mbbsd/admin.c | |
parent | 15c2695c512705df1b2c5a52c86dbde02228fa70 (diff) | |
download | pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar.gz pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar.bz2 pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar.lz pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar.xz pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.tar.zst pttbbs-878bcdc81ea3ede5fb409493dd28707b12f53aef.zip |
rename
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r-- | mbbsd/admin.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c index 0dee134b..15659d31 100644 --- a/mbbsd/admin.c +++ b/mbbsd/admin.c @@ -1,4 +1,4 @@ -/* $Id: admin.c,v 1.39 2003/05/12 04:10:13 victor Exp $ */ +/* $Id: admin.c,v 1.40 2003/05/12 12:47:18 victor Exp $ */ #include "bbs.h" /* 使用者管理 */ @@ -524,7 +524,7 @@ x_file() fpath = "etc/feast"; break; case 'm': - fpath = "etc/foreign_expired"; + fpath = "etc/foreign_welcome"; break; case 'n': fpath = "etc/foreign_expired_warn"; @@ -935,6 +935,8 @@ scan_register_form(char *regfile, int automode, int neednum) default: prints("以下使用者資料已經更新:\n"); mail_muser(muser, "[註冊成功\囉]", "etc/registered"); + if(muser.uflag2 & FOREIGN) + mail_muser(muser, "[出入境管理局]", "etc/foreign_welcome"); muser.userlevel |= (PERM_LOGINOK | PERM_POST); strlcpy(muser.realname, fdata[2], sizeof(muser.realname)); strlcpy(muser.address, fdata[4], sizeof(muser.address)); |