summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-21 04:33:07 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-21 04:33:07 +0800
commita45dfc5dbbbf31968340f4ce85fe998e7aa46c68 (patch)
tree62afd22502a8601116a8daab3b7a9c3462a55322
parent80d6431f5d2fa48f925712ccd98c1983404e7ee9 (diff)
downloadpttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar.gz
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar.bz2
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar.lz
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar.xz
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.tar.zst
pttbbs-a45dfc5dbbbf31968340f4ce85fe998e7aa46c68.zip
revert cuser .... bug fix
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index f3c3d778..ad9bd1ad 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -877,7 +877,7 @@ static void init_guest_info(void)
inline static void foreign_warning(void){
if ((cuser.uflag2 & FOREIGN) && !(cuser.uflag2 & LIVERIGHT)){
if (login_start_time - cuser.firstlogin > (FOREIGN_REG_DAY - 5) * 24 * 3600){
- mail_muser(*cuser, "[出入境管理局]", "etc/foreign_expired_warn");
+ mail_muser(cuser, "[出入境管理局]", "etc/foreign_expired_warn");
}
else if (login_start_time - cuser.firstlogin > FOREIGN_REG_DAY * 24 * 3600){
cuser.userlevel &= ~(PERM_LOGINOK | PERM_POST);