diff options
author | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-25 14:45:05 +0800 |
---|---|---|
committer | in2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2005-02-25 14:45:05 +0800 |
commit | 3e4714bc76d9a8b789527654b24eda4331e8ffdf (patch) | |
tree | 047832c1ba10662d75d59e09c450deac720e4f7c /mbbsd/mail.c | |
parent | 2d27ba91cf281af58ed1a178593850ec09a3adc4 (diff) | |
download | pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar.gz pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar.bz2 pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar.lz pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar.xz pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.tar.zst pttbbs-3e4714bc76d9a8b789527654b24eda4331e8ffdf.zip |
add Account Registration (PERM_REG) for registration.
remove PERM_SMG.
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2541 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r-- | mbbsd/mail.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index 997f1d0f..0d7e3fda 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -139,8 +139,8 @@ void setupmailusage() { // Ptt: get_sum_records is a bad function int max_keepmail = MAX_KEEPMAIL; - if (HAS_PERM(PERM_SYSSUBOP) || HAS_PERM(PERM_SMG) || - HAS_PERM(PERM_PRG) || HAS_PERM(PERM_ACTION) || HAS_PERM(PERM_PAINT)) { + if( HAS_PERM(PERM_SYSSUBOP | PERM_ACCTREG | PERM_PRG | + PERM_ACTION | PERM_PAINT) ){ mailsumlimit = 700; max_keepmail = 500; } else if (HAS_PERM(PERM_BM)) { |