summaryrefslogtreecommitdiffstats
path: root/mbbsd/assess.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-28 21:57:40 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-08-28 21:57:40 +0800
commit2230c0a8c5a4eb2397673d37e709454195c5e284 (patch)
treed6b2f7d72e55aa8aa40af5a3bcbe5ffb296dcb20 /mbbsd/assess.c
parent209a53de9d25820b20e3b5591cd1efb7e221fc24 (diff)
downloadpttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.gz
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.bz2
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.lz
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.xz
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.tar.zst
pttbbs-2230c0a8c5a4eb2397673d37e709454195c5e284.zip
* moving into the new pwcu (password - current user helper) API
git-svn-id: http://opensvn.csie.org/pttbbs/branches/pttbbs.pwcu@4783 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/assess.c')
-rw-r--r--mbbsd/assess.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/mbbsd/assess.c b/mbbsd/assess.c
index 64bc7ad5..e11ac70f 100644
--- a/mbbsd/assess.c
+++ b/mbbsd/assess.c
@@ -231,10 +231,8 @@ u_fixgoodpost(void)
log_filef("log/fixgoodpost.log", LOG_CREAT,
"%s %s 自動修正優文數: 由 %d 變為 %d\n", Cdate(&now), cuser.userid,
cuser.goodpost, newgp);
- cuser.goodpost = newgp;
// update passwd file here?
- passwd_force_update(ALERT_PWD_GOODPOST);
- passwd_sync_update(usernum, &cuser);
+ pwcuSetGoodPost(newgp);
vmsgf("更新優文數目為%d。", newgp);
}