summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index b1ad5821..e63ac303 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -158,6 +158,11 @@ HasBoardPerm(boardheader_t *bptr)
if (HasUserPerm(PERM_SYSOP))
return 1;
+ // allow POLICE to enter BM boards
+ if ((level & PERM_BM) &&
+ (HasUserPerm(PERM_POLICE) || HasUserPerm(PERM_POLICE_MAN)))
+ return 1;
+
/* ªO¥D */
if( is_BM_cache(bptr - bcache + 1) ) /* XXXbid */
return 1;