summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-05 20:14:51 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-05 20:14:51 +0800
commitf3a477e23d2642cced23f544f85a08eb49f64940 (patch)
tree4d21d5b1d8d116c00642f499fc95c660cd19222e /mbbsd
parent665174a4722e16dcdff8987a67c7149b14b444c9 (diff)
downloadpttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar.gz
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar.bz2
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar.lz
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar.xz
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.tar.zst
pttbbs-f3a477e23d2642cced23f544f85a08eb49f64940.zip
fix 's' bug
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1467 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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();