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 | 54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c (patch) | |
tree | ec1118a758a1d9accb7ec049e14615b7d1c8d09c | |
parent | 92717c460c015b03f1418e96b693d2229459bddd (diff) | |
download | pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar.gz pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar.bz2 pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar.lz pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar.xz pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.tar.zst pttbbs-54c01f751ddee9b2d1e1d8bdd2c58a83ccbedb4c.zip |
* initcuser should also update numpost!
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@4693 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | pttbbs/mbbsd/passwd.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/pttbbs/mbbsd/passwd.c b/pttbbs/mbbsd/passwd.c index 48c87b36..405e5d7c 100644 --- a/pttbbs/mbbsd/passwd.c +++ b/pttbbs/mbbsd/passwd.c @@ -19,6 +19,7 @@ int initcuser(const char *userid) { usernum = passwd_load_user(userid, &cuser); + latest_numposts = cuser.numposts; return usernum; } |