Replace econfig key lost_items_timeout by lost_keep_hours

This commit is contained in:
Markus Armbruster 2008-09-10 07:23:46 -04:00
parent 0900cca4f5
commit b72fd20674
3 changed files with 8 additions and 8 deletions

View file

@ -55,7 +55,7 @@ delete_lostitems(void *unused)
for (n = 0; getlost(n, &lost); n++) {
if (!lost.lost_owner)
continue;
if (lost.lost_timestamp > (now - lost_items_timeout))
if (lost.lost_timestamp > (now - hours(lost_keep_hours)))
continue;
lost.lost_owner = 0;
putlost(n, &lost);