summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-17 20:40:39 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-17 20:40:39 +0800
commit7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf (patch)
treedb049e3c1bb2f53208c9c1bd8c462cf179e69da0 /mbbsd
parentf6e67227d99ab0d270de9b071b15f991b5a97555 (diff)
downloadpttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar.gz
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar.bz2
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar.lz
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar.xz
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.tar.zst
pttbbs-7d2b1e8d136851150c2f06fd7c15e8ac6fc776cf.zip
* logind: move logattempt to mbbsd (thanks to kcwu)
* logind: refine asserts and package the queue structure git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4648 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/mbbsd.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index 43317efe..80af1426 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -774,6 +774,7 @@ load_current_user(const char *uid)
}
/* 早該有 home 了, 不知道為何有的帳號會沒有, 被砍掉了? */
mkuserdir(cuser.userid);
+ logattempt(cuser.userid, ' ', login_start_time, fromhost);
}
// check multi user
@@ -897,7 +898,6 @@ login_query(char *ruid)
} else {
strlcpy(ruid, cuser.userid, IDLEN+1);
- logattempt(cuser.userid, ' ', login_start_time, fromhost);
outs("密碼正確! 開始登入系統...");
move(22, 0); refresh();
clrtoeol();