summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 08:35:16 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-05-11 08:35:16 +0800
commitd57f0ffcb377f57cda39795fd032d7ba2690eaf8 (patch)
tree04766bc692bdc041f69ec4f523340b771fe1ec11 /mbbsd/mbbsd.c
parentfc1df3375ea5d4bada5db4802f563f575bebf362 (diff)
downloadpttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar.gz
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar.bz2
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar.lz
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar.xz
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.tar.zst
pttbbs-d57f0ffcb377f57cda39795fd032d7ba2690eaf8.zip
last commit err
git-svn-id: http://opensvn.csie.org/pttbbs/pttbbs/trunk/pttbbs@835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 33f45264..d52ffbcb 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -1,4 +1,4 @@
-/* $Id: mbbsd.c,v 1.75 2003/05/10 16:52:01 bbs Exp $ */
+/* $Id: mbbsd.c,v 1.76 2003/05/11 00:35:16 victor Exp $ */
#include "bbs.h"
#define SOCKET_QLEN 4
@@ -884,7 +884,7 @@ user_login()
if (!PERM_HIDE(currutmp))
cuser.lastlogin = login_start_time;
-#ifdef FOREIGN_REG_DAY
+#ifdef FOREIGN_REG
if (cuser.uflag2 & (FOREIGN | LIVERIGHT)){
if (login_start_time - cuser.firstlogin > (FOREIGN_REG_DAY - 5) * 24 * 3600){
mail_muser(cuser, "[出入境管理局]", "etc/foreign_expired_warn");