diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-05 20:14:51 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-05 20:14:51 +0800 |
commit | f3a477e23d2642cced23f544f85a08eb49f64940 (patch) | |
tree | 4d21d5b1d8d116c00642f499fc95c660cd19222e /mbbsd | |
parent | 665174a4722e16dcdff8987a67c7149b14b444c9 (diff) | |
download | pttbbs-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.c | 3 |
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(); |