From 8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0 Mon Sep 17 00:00:00 2001 From: victor Date: Sun, 18 Apr 2004 15:06:51 +0000 Subject: dont add a link to fav subscription git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204 --- mbbsd/fav.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'mbbsd') 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; } -- cgit v1.2.3