summaryrefslogtreecommitdiffstats
path: root/mbbsd
diff options
context:
space:
mode:
authorvictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-18 23:06:51 +0800
committervictor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204>2004-04-18 23:06:51 +0800
commit8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0 (patch)
tree177302bc62af4d6e77269e8738251b83fd904260 /mbbsd
parentdd77a6fade313baec6f08d0756498e47a0fb2a88 (diff)
downloadpttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar.gz
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar.bz2
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar.lz
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar.xz
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.tar.zst
pttbbs-8c0c3bb86f45d246ec7ef91c3a3c0e7f184974a0.zip
dont add a link to fav subscription
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1782 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
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;
}