diff options
author | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-08 01:56:22 +0800 |
---|---|---|
committer | piaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-09-08 01:56:22 +0800 |
commit | f6fabc3faa9e9886cdfd21899bc11544e3c8c131 (patch) | |
tree | 7d1102c42196f999e59a2de8f45f17aba6cbada8 /mbbsd/mbbsd.c | |
parent | 832362c47fd3aa11394ebeedeb8ee9111294adc7 (diff) | |
download | pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar.gz pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar.bz2 pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar.lz pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar.xz pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.tar.zst pttbbs-f6fabc3faa9e9886cdfd21899bc11544e3c8c131.zip |
pager=waterball made readable
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@3139 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mbbsd.c')
-rw-r--r-- | mbbsd/mbbsd.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/mbbsd/mbbsd.c b/mbbsd/mbbsd.c index 52f56977..1bac7469 100644 --- a/mbbsd/mbbsd.c +++ b/mbbsd/mbbsd.c @@ -167,7 +167,7 @@ u_exit(const char *mode) cuser.badsale = currutmp->badsale; auto_backup(); - setflags(PAGER_FLAG, currutmp->pager != 1); + setflags(PAGER_FLAG, currutmp->pager != PAGER_ON); setflags(CLOAK_FLAG, currutmp->invisible); save_brdbuf(); brc_finalize(); @@ -442,7 +442,7 @@ write_request(int sig) } } else { if (currutmp->mode != 0 && - currutmp->pager != 0 && + currutmp->pager != PAGER_OFF && cuser.userlevel != 0 && currutmp->msgcount != 0 && currutmp->mode != TALK && @@ -837,7 +837,7 @@ setup_utmp(int mode) uinfo.chc_tie = cuser.chc_tie; uinfo.chess_elo_rating = cuser.chess_elo_rating; uinfo.invisible = cuser.invisible % 2; - uinfo.pager = cuser.pager % 5; + uinfo.pager = cuser.pager % PAGER_MODES; uinfo.goodpost = cuser.goodpost; uinfo.badpost = cuser.badpost; uinfo.goodsale = cuser.goodsale; @@ -956,7 +956,7 @@ static void init_guest_info(void) strlcpy(cuser.realname, name[(int)i], sizeof(cuser.realname)); strlcpy(cuser.address, addr[(int)i], sizeof(cuser.address)); cuser.sex = i % 8; - currutmp->pager = 2; + currutmp->pager = PAGER_DISABLE; } #if FOREIGN_REG_DAY > 0 |