]> git.pond.sub.org Git - empserver/blobdiff - src/server/lostitem.c
Replace econfig key lost_items_timeout by lost_keep_hours
[empserver] / src / server / lostitem.c
index b3667cc3f77b6eaa85da5cdac17b2c7409fd4819..42cc480829de1cb52cde5d13b69e1539792d493f 100644 (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);