diff options
author | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-22 02:21:04 +0800 |
---|---|---|
committer | ptt <ptt@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-06-22 02:21:04 +0800 |
commit | 53556444f0835990d703e290799af36609c90656 (patch) | |
tree | a6943b34c68e65f54fa7ced67579508fd4322a5d | |
parent | 8545fd56ff7e4e4ebc7b0e2bd5b11626318e1ced (diff) | |
download | pttbbs-53556444f0835990d703e290799af36609c90656.tar pttbbs-53556444f0835990d703e290799af36609c90656.tar.gz pttbbs-53556444f0835990d703e290799af36609c90656.tar.bz2 pttbbs-53556444f0835990d703e290799af36609c90656.tar.lz pttbbs-53556444f0835990d703e290799af36609c90656.tar.xz pttbbs-53556444f0835990d703e290799af36609c90656.tar.zst pttbbs-53556444f0835990d703e290799af36609c90656.zip |
unregistered alert >10 -> >100
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2074 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/menu.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index b1c45f4b..7860f02f 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -33,10 +33,10 @@ showtitle(char *title, char *mid) else if (currutmp->mailalert) { mid = "\033[41;5m 郵差來按鈴囉 " TITLE_COLOR; spc = 22; - } else if (HAS_PERM(PERM_SYSOP) && (nreg = dashs(fn_register) / 163) > 10) { + } else if (HAS_PERM(PERM_SYSOP) && (nreg = dashs(fn_register) / 163) >100) { snprintf(numreg, sizeof(numreg), - "\033[41;5m 有%03d/%03d未審核 " TITLE_COLOR, - nreg, (int)dashs("register.new.tmp") / 163); + "\033[41;5m 有 %03d 未審核 " TITLE_COLOR, + nreg); mid = numreg; spc = 22; } |