diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-22 14:22:04 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-06-22 14:22:04 +0800 |
commit | 844fc66e84fe28418791a1af55f76515e6b23cd1 (patch) | |
tree | 07086053d3c00d7d9bd63c8d7bf335ee3fcdbcf2 | |
parent | f0cafd6c875e3a26d89ed58abfac6930b865857a (diff) | |
download | pttbbs-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
-rw-r--r-- | mbbsd/passwd.c | 1 |
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; } |