diff options
-rw-r--r-- | mbbsd/mail.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c index cb29f976..631c9182 100644 --- a/mbbsd/mail.c +++ b/mbbsd/mail.c @@ -162,14 +162,18 @@ chkmailbox() if (!HAVE_PERM(PERM_SYSOP) && !HAVE_PERM(PERM_MAILLIMIT)) { if(!mailkeep) setupmailusage(); m_init(); - if (mailkeep > mailmaxkeep || - mailsum > mailsumlimit) { + if (mailkeep > mailmaxkeep) { bell(); bell(); - vmsg("�z�O�s�H��ƥةήe�q %d �W�X�W�� %d, �о�z", - mailkeep, mailmaxkeep); + vmsg("�z�O�s�H��ƥ� %d �W�X�W�� %d, �о�z", mailkeep, mailmaxkeep); return mailkeep; } + else if (mailsum > mailsumlimit) { + bell(); + bell(); + vmsg("�z�O�s�H��e�q %d �W�X�W�� %d, �о�z", mailsum, mailsumlimit); + return mailsum; + } } return 0; } |