diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/perm.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/include/perm.h b/include/perm.h index e129a991..03e5b432 100644 --- a/include/perm.h +++ b/include/perm.h @@ -52,8 +52,7 @@ #define PERM_FORWARD (PERM_BASIC) /* to do the forwarding */ #define PERM_INTERNET (PERM_LOGINOK) /* 身份認證過關的才能寄信到 Internet */ -#define HasUserPerm(x) ((x) ? cuser.userlevel & (x) : 1) -#define HAVE_PERM(x) (cuser.userlevel&(x)) +#define HasUserPerm(x) (cuser.userlevel & (x)) #define PERM_HIDE(u) (u && (u)->userlevel & PERM_SYSOPHIDE) #define IS_BOARD(bptr) ((bptr)->brdname[0] && \ |