diff options
-rw-r--r-- | include/pttstruct.h | 3 | ||||
-rw-r--r-- | mbbsd/fav.c | 6 | ||||
-rw-r--r-- | util/shmctl.c | 2 |
3 files changed, 4 insertions, 7 deletions
diff --git a/include/pttstruct.h b/include/pttstruct.h index 01e7e61c..92889865 100644 --- a/include/pttstruct.h +++ b/include/pttstruct.h @@ -378,9 +378,6 @@ typedef struct { int Bbusystate; time_t close_vote_time; - /* if true, fav.c:cleanup() will remove the invalid boards from record. */ - char cleanboard; - /* pttcache */ char notes[MAX_MOVIE][200*11]; char today_is[20]; 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; diff --git a/util/shmctl.c b/util/shmctl.c index 1b7d5350..fad17e36 100644 --- a/util/shmctl.c +++ b/util/shmctl.c @@ -579,8 +579,6 @@ int SHMinit(int argc, char **argv) buildclass(0, 0); #endif - SHM->cleanboard = 0; - if( !no_uhash_loader ){ puts("utmpsortd..."); utmpsortd(1, NULL); |