summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-15 15:27:12 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-01-15 15:27:12 +0800
commit95476581c0bac0c784ce556002ff389444d02ba3 (patch)
tree3b3671250d9d1824bf9a4edbb8e3dabdd869882d /mbbsd/mbbsd.c
parent3b1b5450c2b18864c063286376b99cbbaa76ec6a (diff)
downloadpttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar.gz
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar.bz2
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar.lz
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar.xz
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.tar.zst
pttbbs-95476581c0bac0c784ce556002ff389444d02ba3.zip
edit.c: dont use such a lot of strlen()
mbbsd.c: update assess data before logout git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2401 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index ee606059..bfd8b890 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -140,6 +140,11 @@ u_exit(char *mode)
close(1);
reload_money();
+ cuser.goodpost = currutmp->goodpost;
+ cuser.badpost = currutmp->badpost;
+ cuser.goodsale = currutmp->goodsale;
+ cuser.badsale = currutmp->badsale;
+
auto_backup();
setflags(PAGER_FLAG, currutmp->pager != 1);
setflags(CLOAK_FLAG, currutmp->invisible);