summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 14:22:04 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-06-22 14:22:04 +0800
commit844fc66e84fe28418791a1af55f76515e6b23cd1 (patch)
tree07086053d3c00d7d9bd63c8d7bf335ee3fcdbcf2 /mbbsd
parentf0cafd6c875e3a26d89ed58abfac6930b865857a (diff)
downloadpttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar.gz
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar.bz2
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar.lz
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar.xz
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.tar.zst
pttbbs-844fc66e84fe28418791a1af55f76515e6b23cd1.zip
* initcuser should also update numpost!
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/passwd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/mbbsd/passwd.c b/mbbsd/passwd.c
index 48c87b36..405e5d7c 100644
--- a/mbbsd/passwd.c
+++ b/mbbsd/passwd.c
@@ -19,6 +19,7 @@ int
initcuser(const char *userid)
{
usernum = passwd_load_user(userid, &cuser);
+ latest_numposts = cuser.numposts;
return usernum;
}