diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-30 23:58:03 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-10-30 23:58:03 +0800 |
commit | bf320179d002f9349006aed29ad824ab88dd0e80 (patch) | |
tree | a15e21c3ab743bfb076fa31cdb28ee4e561ead16 | |
parent | 9bbd8038169b3179fe6bdeeefd56b79659e45dd1 (diff) | |
download | pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar.gz pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar.bz2 pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar.lz pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar.xz pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.tar.zst pttbbs-bf320179d002f9349006aed29ad824ab88dd0e80.zip |
show register-notice for users who have permission PERM_ACCOUNTS
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2288 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r-- | mbbsd/menu.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/menu.c b/mbbsd/menu.c index 4c337fcd..fc0e4435 100644 --- a/mbbsd/menu.c +++ b/mbbsd/menu.c @@ -33,7 +33,8 @@ showtitle(char *title, char *mid) else if (currutmp->mailalert) { mid = "\033[41;5m ¶l®t¨Ó«ö¹aÅo " TITLE_COLOR; spc = 22; - } else if (HAS_PERM(PERM_SYSOP) && (nreg = dashs(fn_register) / 163) >100) { + } else if ((HAS_PERM(PERM_SYSOP) || HAS_PERM(PERM_ACCOUNTS)) && + (nreg = dashs(fn_register) / 163) >100) { snprintf(numreg, sizeof(numreg), "\033[41;5m ¦³ %03d ¥¼¼f®Ö " TITLE_COLOR, nreg); |