summaryrefslogtreecommitdiffstats
path: root/mbbsd/cal.c
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2009-09-10 18:05:12 +0800
commit0a50f91422cc78e215c541d08dbf30fdeb91477c (patch)
tree9b09fa98181fe6ef345109eb0c279d3628889c09 /mbbsd/cal.c
parent78a17f4498134b9db1fc95e7be14798422475475 (diff)
parentf115309f094fb58ce49a14a24d58144aa13d3e5c (diff)
downloadpttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.gz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.bz2
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.lz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.xz
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.tar.zst
pttbbs-0a50f91422cc78e215c541d08dbf30fdeb91477c.zip
* make pwcu branch as trunk.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4826 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/cal.c')
-rw-r--r--mbbsd/cal.c7
1 files changed, 2 insertions, 5 deletions
diff --git a/mbbsd/cal.c b/mbbsd/cal.c
index 2e3b441a..c920aeb1 100644
--- a/mbbsd/cal.c
+++ b/mbbsd/cal.c
@@ -84,10 +84,7 @@ vice(int money, const char *item)
static int
inmailbox(int m)
{
- userec_t xuser;
- passwd_sync_query(usernum, &xuser);
- cuser.exmailbox = xuser.exmailbox + m;
- passwd_sync_update(usernum, &cuser);
+ pwcuAddExMailBox(m);
return cuser.exmailbox;
}
@@ -405,7 +402,7 @@ resolve_over18_user(const userec_t *u)
void
resolve_over18(void)
{
- over18 = resolve_over18_user(&cuser);
+ over18 = resolve_over18_user(cuser_ref);
}
int