summaryrefslogtreecommitdiffstats
path: root/mbbsd/mbbsd.c
diff options
context:
space:
mode:
authorptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 01:36:57 +0800
committerptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2006-01-04 01:36:57 +0800
commitdefbdb6544e58ade4316af4a2e003568d34aa6a1 (patch)
treebc81167a8805590feaf2c65961a8ef2ad4994c93 /mbbsd/mbbsd.c
parent5166f31cd61af5481f3a418e761368e643230f38 (diff)
downloadpttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.gz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.bz2
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.lz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.xz
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.tar.zst
pttbbs-defbdb6544e58ade4316af4a2e003568d34aa6a1.zip
1. add "cancel bad post" feature.
2. fix bad the bug that user won't get bad post when he is online. git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3260 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r--mbbsd/mbbsd.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c
index c31d4d12..5fbebeef 100644
--- a/mbbsd/mbbsd.c
+++ b/mbbsd/mbbsd.c
@@ -159,10 +159,12 @@ u_exit(const char *mode)
return;
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 != PAGER_ON);
@@ -857,10 +859,12 @@ setup_utmp(int mode)
uinfo.chess_elo_rating = cuser.chess_elo_rating;
uinfo.invisible = cuser.invisible % 2;
uinfo.pager = cuser.pager % PAGER_MODES;
+ /*
uinfo.goodpost = cuser.goodpost;
uinfo.badpost = cuser.badpost;
uinfo.goodsale = cuser.goodsale;
uinfo.badsale = cuser.badsale;
+ */
if(cuser.withme & (cuser.withme<<1) & (WITHME_ALLFLAG<<1))
cuser.withme = 0;
uinfo.withme = cuser.withme;