summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-02-05 12:31:38 +0800
committerpiaip <piaip@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2012-02-05 12:31:38 +0800
commit1d4b65dfb6a52802b4c51806db9e7e9a93240a2b (patch)
treeaedf8e9ae365b105da49b638032303baa43085b6
parent71ab392c94a01faf6b91b56c4726e3353d611c3c (diff)
downloadpttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar.gz
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar.bz2
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar.lz
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar.xz
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.tar.zst
pttbbs-1d4b65dfb6a52802b4c51806db9e7e9a93240a2b.zip
Change hard limit ratio
git-svn-id: http://opensvn.csie.org/pttbbs/trunk@5559 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
-rw-r--r--pttbbs/mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/pttbbs/mbbsd/mail.c b/pttbbs/mbbsd/mail.c
index 199db817..151bb6ce 100644
--- a/pttbbs/mbbsd/mail.c
+++ b/pttbbs/mbbsd/mail.c
@@ -325,7 +325,7 @@ chk_mailbox_limit(void)
if (mailkeep <= mailmaxkeep)
return MAILBOX_LIM_OK;
- if ((mailkeep / 100 < mailmaxkeep)
+ if ((mailkeep / 50 < mailmaxkeep)
|| HasUserPerm(PERM_ADMIN))
return MAILBOX_LIM_KEEP;
else