summaryrefslogtreecommitdiffstats
path: root/mbbsd/register.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 18:08:49 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-30 18:08:49 +0800
commit5f589c904a3be5b6eaa5abd57052b481d6a24c18 (patch)
treeb58ee25144de9400bc84f164bbb1530ce44a3bee /mbbsd/register.c
parent19e36427e3fdfebc319fd7e0a92054ea9db85fd1 (diff)
downloadpttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.gz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.bz2
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.lz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.xz
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.tar.zst
pttbbs-5f589c904a3be5b6eaa5abd57052b481d6a24c18.zip
* fix numlogindays
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4799 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/register.c')
-rw-r--r--mbbsd/register.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/register.c b/mbbsd/register.c
index 9f9a2b74..af04508e 100644
--- a/mbbsd/register.c
+++ b/mbbsd/register.c
@@ -259,7 +259,7 @@ check_and_expire_account(int uid, const userec_t * urec, int expireRange)
if ((val = compute_user_value(urec, now)) < 0) {
snprintf(genbuf, sizeof(genbuf), "#%d %-12s %s %d %d %d",
uid, urec->userid, Cdatelite(&(urec->lastlogin)),
- urec->numlogins, urec->numposts, val);
+ urec->numlogindays, urec->numposts, val);
// 若超過 expireRange 則砍人,
// 不然就 return 0