diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-09 21:30:32 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2003-05-09 21:30:32 +0800 |
commit | 43c23212c73e8960fc1fdeb4849d327c28b3a5d9 (patch) | |
tree | fb496a57960085b970e46eb682f20cd2a6428284 /mbbsd/mbbsd.c | |
parent | ff3afd480dad5adc0404dc2a747508de95c5c32e (diff) | |
download | pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.gz pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.bz2 pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.lz pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.xz pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.tar.zst pttbbs-43c23212c73e8960fc1fdeb4849d327c28b3a5d9.zip |
use another clear bits -_-
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@830 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 77dc98e3..7fc41c85 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -1,4 +1,4 @@ -/* $Id: mbbsd.c,v 1.73 2003/05/09 07:53:55 victor Exp $ */ +/* $Id: mbbsd.c,v 1.74 2003/05/09 13:30:32 victor Exp $ */ #include "bbs.h" #define SOCKET_QLEN 4 @@ -884,7 +884,7 @@ user_login() if (!PERM_HIDE(currutmp)) cuser.lastlogin = login_start_time; - if (cuser.foreign & FOREIGN){ + if (cuser.uflag2 & (FOREIGN | LIVERIGHT)){ if (login_start_time - cuser.firstlogin > (FOREIGN_REG_DAY - 5) * 24 * 3600){ mail_muser(cuser, "[出入境管理局]", "etc/foreign_expired_warn"); } |