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 6476ab85..a4a5802e 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -323,7 +323,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 && !HasPerm(bp))
+ if ( clean_invisible && !HasBoardPerm(bp))
continue;
break;
case FAVT_LINE:
@@ -1119,7 +1119,7 @@ int updatenewfav(int mode)
for(i = 0; i < brdnum + 1 && brd[i] != BRD_END; i++){
if(brd[i] == BRD_NEW){
/* check the permission if the board exsits */
- if(bcache[i].brdname[0] && HasPerm(&bcache[i])){
+ if(bcache[i].brdname[0] && HasBoardPerm(&bcache[i])){
if(mode && !(bcache[i].brdattr & BRD_SYMBOLIC)) {
fav_add_board(i + 1);
count++;
@@ -1135,7 +1135,7 @@ int updatenewfav(int mode)
if( i < brdnum) { // the board number may change
for(; i < brdnum; ++i){
- if(bcache[i].brdname[0] && HasPerm(&bcache[i])){
+ if(bcache[i].brdname[0] && HasBoardPerm(&bcache[i])){
if(mode && !(bcache[i].brdattr & BRD_SYMBOLIC)) {
fav_add_board(i + 1);
count++;