summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-02 11:44:09 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2003-12-02 11:44:09 +0800
commitc622faa90d697f8794f7a2b9ee4d3390ce7dbe0e (patch)
tree54d917784c46dcb5b99c76e42d94e897b0bf574e
parentd19124dbf06e6bdbf78645caaf24ef4c09720916 (diff)
downloadpttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar.gz
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar.bz2
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar.lz
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar.xz
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.tar.zst
pttbbs-c622faa90d697f8794f7a2b9ee4d3390ce7dbe0e.zip
#ifdef ASSESS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1388 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index a985c2bf..42bb48a2 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -150,10 +150,12 @@ u_exit(char *mode)
setflags(CLOAK_FLAG, currutmp->invisible);
save_brdbuf();
+#ifdef ASSESS
cuser.goodpost = currutmp->goodpost;
cuser.badpost = currutmp->badpost;
cuser.goodsale = currutmp->goodsale;
cuser.badsale = currutmp->badsale;
+#endif
cuser.invisible = currutmp->invisible;
cuser.pager = currutmp->pager;
@@ -727,10 +729,12 @@ setup_utmp(int mode)
uinfo.mode = currstat = mode;
uinfo.mailalert = load_mailalert(cuser.userid);
+#ifdef ASSESS
uinfo.goodpost = cuser.goodpost;
uinfo.badpost = cuser.badpost;
uinfo.goodsale = cuser.goodsale;
uinfo.badsale = cuser.badsale;
+#endif
uinfo.userlevel = cuser.userlevel;
uinfo.sex = cuser.sex % 8;