summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/perm.h2
-rw-r--r--include/proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/perm.h b/include/perm.h
index 9f88bf96..e129a991 100644
--- a/include/perm.h
+++ b/include/perm.h
@@ -52,7 +52,7 @@
#define PERM_FORWARD (PERM_BASIC) /* to do the forwarding */
#define PERM_INTERNET (PERM_LOGINOK) /* 身份認證過關的才能寄信到 Internet */
-#define HAS_PERM(x) ((x) ? cuser.userlevel & (x) : 1)
+#define HasUserPerm(x) ((x) ? cuser.userlevel & (x) : 1)
#define HAVE_PERM(x) (cuser.userlevel&(x))
#define PERM_HIDE(u) (u && (u)->userlevel & PERM_SYSOPHIDE)
diff --git a/include/proto.h b/include/proto.h
index e92082c7..4f9b179d 100644
--- a/include/proto.h
+++ b/include/proto.h
@@ -86,7 +86,7 @@ int check_cooldown(boardheader_t *bp);
/* board */
#define setutmpbid(bid) currutmp->brc_id=bid;
-int HasPerm(boardheader_t *bptr);
+int HasBoardPerm(boardheader_t *bptr);
int New(void);
int Boards(void);
int root_board(void);