diff options
author | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-03 17:48:57 +0800 |
---|---|---|
committer | victor <victor@63ad8ddf-47c3-0310-b6dd-a9e9d9715204> | 2004-01-03 17:48:57 +0800 |
commit | 63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a (patch) | |
tree | 75422d9ebbd6142b0f01fb4c68f024f70edf4194 /mbbsd | |
parent | d9dd9c420e7d6429c8e941a5c7a83d7381dfef5e (diff) | |
download | pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar.gz pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar.bz2 pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar.lz pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar.xz pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.tar.zst pttbbs-63bc2dad6f3d3fdb6b3495a4eda10a14a5647c6a.zip |
dont remove a non-exist board when logout
git-svn-id: http://opensvn.csie.org/pttbbs/trunk/pttbbs@1455 63ad8ddf-47c3-0310-b6dd-a9e9d9715204
Diffstat (limited to 'mbbsd')
-rw-r--r-- | mbbsd/fav.c | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/mbbsd/fav.c b/mbbsd/fav.c index 4358f425..587dc041 100644 --- a/mbbsd/fav.c +++ b/mbbsd/fav.c @@ -224,7 +224,7 @@ inline int is_visible_item(fav_type_t *ft){ */ static void rebuild_fav(fav_t *fp) { - int i, j, nData, bid; + int i, j, nData; fav_type_t *ft; fav_number = 0; fp->lineID = fp->folderID = 0; @@ -235,11 +235,13 @@ static void rebuild_fav(fav_t *fp) continue; ft = &fp->favh[i]; switch (get_item_type(ft)){ +/* case FAVT_BOARD: bid = cast_board(ft)->bid; - if (SHM->cleanboard && bcache[bid - 1].brdname[0]) + if (SHM->GV2.e.cleanboard && bcache[bid - 1].brdname[0]) continue; break; +*/ case FAVT_LINE: cast_line(ft)->lid = fp->lineID + 1; break; |