summaryrefslogtreecommitdiffstats
path: root/mbbsd/admin.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/admin.c')
-rw-r--r--mbbsd/admin.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/admin.c b/mbbsd/admin.c
index cab1089f..b1f6f1c7 100644
--- a/mbbsd/admin.c
+++ b/mbbsd/admin.c
@@ -103,6 +103,7 @@ upgrade_passwd(userec_t *puser)
memset(puser->chkpad0, 0, sizeof(puser->chkpad0));
memset(puser->chkpad1, 0, sizeof(puser->chkpad1));
memset(puser->chkpad2, 0, sizeof(puser->chkpad2));
+ puser->numlogindays = 0;
puser->version = PASSWD_VERSION;
return;
}