diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-05 22:48:20 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-05 22:48:20 +0800 |
commit | ea656082b2b31c5b28ee21c190d06b87aef4b028 (patch) | |
tree | 92fe5a3471856c08989a063f5ff35442f1015079 /mbbsd | |
parent | 8b69d8ea4d629865bd1e91a584b1d8816ecbbacc (diff) | |
download | pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar.gz pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar.bz2 pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar.lz pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar.xz pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.tar.zst pttbbs-ea656082b2b31c5b28ee21c190d06b87aef4b028.zip |
post_mask perm missing
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1469 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/board.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/board.c b/mbbsd/board.c index 06426715..a4ca59b4 100644 --- a/mbbsd/board.c +++ b/mbbsd/board.c @@ -799,7 +799,7 @@ show_brdlist(int head, int clsflag, int newflag) unread[ptr->myattr & BRD_UNREAD ? 1 : 0]); } if (class_bid != 1) { - if (!(currmode & MODE_MENU) && Ben_Perm(B_BH(ptr)) != 1) { + if (!(currmode & MODE_MENU) && !Ben_Perm(B_BH(ptr))) { prints("Unknown?? ÁôªO ¡H³oÓªO¬OÁôªO"); } else { @@ -1263,7 +1263,7 @@ choose_board(int newflag) case 'v': case 'V': ptr = &nbrd[num]; - if(nbrd[num].bid < 0 || Ben_Perm(B_BH(ptr)) != 1) + if(nbrd[num].bid < 0 || !Ben_Perm(B_BH(ptr))) break; brc_initial(B_BH(ptr)->brdname); if (ch == 'v') { @@ -1343,7 +1343,7 @@ choose_board(int newflag) } if (!(B_BH(ptr)->brdattr & BRD_GROUPBOARD)) { /* «Dsub class */ - if (Ben_Perm(B_BH(ptr)) == 1) { + if (Ben_Perm(B_BH(ptr))) { brc_initial(B_BH(ptr)->brdname); if (newflag) { |