summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd')
-rw-r--r--mbbsd/fav.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c
index c74a9ef2..aa0fd84d 100644
--- a/mbbsd/fav.c
+++ b/mbbsd/fav.c
@@ -906,7 +906,7 @@ void updatenewfav(int mode)
if(brd[i] == BRD_NEW){
/* check the permission if the board exsits */
if(bcache[i].brdname[0] && HasPerm(&bcache[i])){
- if(mode)
+ if(mode && !(bcache[i].brdattr & BRD_SYMBOLIC))
fav_add_board(i + 1);
brd[i] = BRD_OLD;
}
@@ -919,7 +919,7 @@ void updatenewfav(int mode)
if( i < brdnum) // the board number may change
for(i-- ; i < brdnum; i++){
if(bcache[i].brdname[0] && HasPerm(&bcache[i])){
- if(mode)
+ if(mode && !(bcache[i].brdattr & BRD_SYMBOLIC))
fav_add_board(i + 1);
brd[i] = BRD_OLD;
}