summaryrefslogtreecommitdiffstats
path: root/mbbsd/mail.c
diff options
context:
space:
mode:
authorin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-14 23:52:34 +0800
committerin2 <in2@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2005-06-14 23:52:34 +0800
commit41157b4d4a7c4549b31f88b8ba483ca12c355e48 (patch)
treebc8d57066c64ba04e5d34148fb8a3e0e105d4fec /mbbsd/mail.c
parent36e0dbc04095da5fca4cad9e48f2b07fb1e220c5 (diff)
downloadpttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.gz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.bz2
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.lz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.xz
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.tar.zst
pttbbs-41157b4d4a7c4549b31f88b8ba483ca12c355e48.zip
merge HAVE_PERM() into HasUserPerm()
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@2842 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/mail.c')
-rw-r--r--mbbsd/mail.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mbbsd/mail.c b/mbbsd/mail.c
index 74a7f9c5..5c4cdf3e 100644
--- a/mbbsd/mail.c
+++ b/mbbsd/mail.c
@@ -159,7 +159,7 @@ setupmailusage(void)
int
chkmailbox(void)
{
- if (!HAVE_PERM(PERM_SYSOP) && !HAVE_PERM(PERM_MAILLIMIT)) {
+ if (!HasUserPerm(PERM_SYSOP) && !HasUserPerm(PERM_MAILLIMIT)) {
if(!mailkeep) setupmailusage();
m_init();
if (mailkeep > mailmaxkeep) {