summaryrefslogtreecommitdiffstats
path: root/mbbsd/fav.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/fav.c')
-rw-r--r--mbbsd/fav.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index c06a9628..4cf1da34 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -242,7 +242,7 @@ static void rebuild_fav(fav_t *fp, int clean_invisible)
bp = &bcache[cast_board(ft)->bid - 1];
if (!bp->brdname[0])
continue;
- if ( clean_invisible && !Ben_Perm(bp))
+ if ( clean_invisible && !HasPerm(bp))
continue;
break;
case FAVT_LINE:
@@ -896,7 +896,7 @@ void updatenewfav(int mode)
for(i = 0; i < numboards + 1 && brd[i] != BRD_END; i++){
if(brd[i] == BRD_NEW){
- if(bcache[i].brdname[0] && Ben_Perm(&bcache[i])){ // check the permission if the board exsits
+ if(bcache[i].brdname[0] && HasPerm(&bcache[i])){ // check the permission if the board exsits
if(mode)
fav_add_board(i + 1);
brd[i] = BRD_OLD;
@@ -909,7 +909,7 @@ void updatenewfav(int mode)
}
if( i < numboards) // the board number may change
for(i-- ; i < numboards; i++){
- if(bcache[i].brdname[0] && Ben_Perm(&bcache[i])){
+ if(bcache[i].brdname[0] && HasPerm(&bcache[i])){
if(mode)
fav_add_board(i + 1);
brd[i] = BRD_OLD;