summaryrefslogtreecommitdiffstats
path: root/mbbsd/board.c
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-04 22:07:29 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-01-04 22:07:29 +0800
commit7acf58d8b196c3930434a0111d0ede1ccd178223 (patch)
treec7fd95628fde2209c05c89c159485de6f0e6cb55 /mbbsd/board.c
parentd0f08bb6f0acda3c6872e3aaa7d8cf43498dd97f (diff)
downloadpttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar.gz
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar.bz2
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar.lz
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar.xz
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.tar.zst
pttbbs-7acf58d8b196c3930434a0111d0ede1ccd178223.zip
fix bug 'v'
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1464 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd/board.c')
-rw-r--r--mbbsd/board.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c
index c37635ba..78c6c5e2 100644
--- a/mbbsd/board.c
+++ b/mbbsd/board.c
@@ -1261,9 +1261,9 @@ choose_board(int newflag)
break;
case 'v':
case 'V':
- if(nbrd[num].bid < 0)
- break;
ptr = &nbrd[num];
+ if(nbrd[num].bid < 0 || Ben_Perm(B_BH(ptr)) != 1)
+ break;
brc_initial(B_BH(ptr)->brdname);
if (ch == 'v') {
ptr->myattr &= ~BRD_UNREAD;