diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-13 12:02:01 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2009-09-13 12:02:01 +0800 |
commit | ce697837e94da1fa7ac0a1dc83e3518c882c5f82 (patch) | |
tree | 7f09b889ab5d54b9f478f40d5c205d9ee5355595 /mbbsd/user.c | |
parent | e3996173b492a380965b21be3a515b0f39ffa721 (diff) | |
download | pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar.gz pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar.bz2 pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar.lz pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar.xz pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.tar.zst pttbbs-ce697837e94da1fa7ac0a1dc83e3518c882c5f82.zip |
* fix: money was not synchronized...
* also enhanced more check with explicit reload
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4835 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/user.c')
-rw-r--r-- | mbbsd/user.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/user.c b/mbbsd/user.c index 29803db1..ce93aecf 100644 --- a/mbbsd/user.c +++ b/mbbsd/user.c @@ -87,6 +87,9 @@ int u_cancelbadpost(void) return 0; } + // XXX reload account here? + pwcuReload(); + // early check for time (must do again later) day = 180 - (now - cuser.timeremovebadpost ) / DAY_SECONDS; if(day>0 && day<=180) { |