summaryrefslogtreecommitdiffstats
path: root/mbbsd/announce.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/announce.c')
-rw-r--r--mbbsd/announce.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/mbbsd/announce.c b/mbbsd/announce.c
index 7e2a4692..e71e3f89 100644
--- a/mbbsd/announce.c
+++ b/mbbsd/announce.c
@@ -716,7 +716,11 @@ isvisible_man(menu_t * me)
fileheader_t *fhdr = &me->header[me->now - me->page];
if (me->level < MANAGER && ((fhdr->filemode & FILE_BM) ||
((fhdr->filemode & FILE_HIDE) &&
- hbflcheck(currbid, currutmp->uid))))
+ /* board friend only effact when
+ * in board reading mode */
+ (currstat == ANNOUNCE ||
+ hbflcheck(currbid, currutmp->uid))
+ )))
return 0;
return 1;
}