summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 5ac60128..1823b370 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -739,6 +739,9 @@ haspostperm(char *bname)
/* 秘密看板特別處理 */
if (bcache[i - 1].brdattr & BRD_HIDE)
return 1;
+ else if (bcache[i - 1].brdattr & BRD_RESTRICTEDPOST &&
+ hbflcheck(i, usernum))
+ return 0;
i = bcache[i - 1].level;