From f1dc70216212a7bf817c0debbca2f6296542b043 Mon Sep 17 00:00:00 2001 From: kcwu Date: Sat, 16 Oct 2004 06:39:09 +0000 Subject: show chess rating not only in debug mode let user set his attitude about talk/play with others git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2252 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/mbbsd.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'mbbsd/mbbsd.c') diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 5a928602..611d603b 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -144,6 +144,7 @@ u_exit(char *mode) brc_finalize(); cuser.invisible = currutmp->invisible; + cuser.withme = currutmp->withme; cuser.pager = currutmp->pager; memcpy(cuser.mind, currutmp->mind, 4); setutmpbid(0); @@ -743,6 +744,7 @@ setup_utmp(int mode) uinfo.chess_elo_rating = cuser.chess_elo_rating; uinfo.invisible = cuser.invisible % 2; uinfo.pager = cuser.pager % 5; + uinfo.withme = cuser.withme; memcpy(uinfo.mind, cuser.mind, 4); #ifdef WHERE uinfo.from_alias = where(fromhost); -- cgit v1.2.3