summaryrefslogtreecommitdiffstats
path: root/mbbsd/cache.c
diff options
context:
space:
mode:
Diffstat (limited to 'mbbsd/cache.c')
-rw-r--r--mbbsd/cache.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/mbbsd/cache.c b/mbbsd/cache.c
index 45c21f06..b721c82b 100644
--- a/mbbsd/cache.c
+++ b/mbbsd/cache.c
@@ -885,11 +885,6 @@ reload_pttcache(void)
fclose(fp);
}
SHM->max_film = id - 1;
- SHM->max_history = SHM->max_film - 2;
- if (SHM->max_history > MAX_HISTORY - 1)
- SHM->max_history = MAX_HISTORY - 1;
- if (SHM->max_history < 0)
- SHM->max_history = 0;
fp = fopen("etc/today_is", "r");
if (fp) {