summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/board.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index 2e7137a5..3eea39aa 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -630,7 +630,8 @@ search_board()
clrtoeol();
CreateNameList();
for (num = 0; num < brdnum; num++)
- if (yank_flag != 0 || nbrd[num].myattr & BRD_BOARD)
+ if (yank_flag != 0 ||
+ (nbrd[num].myattr & BRD_BOARD) && (Ben_Perm(B_BH(&nbrd[num]))))
AddNameList(B_BH(&nbrd[num])->brdname);
namecomplete(MSG_SELECT_BOARD, genbuf);
FreeNameList();