From 973a97392fd1fedbf1ef5cfb3301b284e9407d26 Mon Sep 17 00:00:00 2001 From: piaip Date: Thu, 24 Apr 2008 01:40:13 +0000 Subject: - Police should be able to enter BM boards git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@4240 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/board.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'mbbsd') 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; -- cgit v1.2.3