diff options
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/mod_http_file_share.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua index 9e542dff..0ef6f856 100644 --- a/plugins/mod_http_file_share.lua +++ b/plugins/mod_http_file_share.lua @@ -142,6 +142,7 @@ local now = os.time(); -- slot properties slot = slot; + expires = expiry >= 0 and (now+expiry) or nil; -- file properties filename = filename; filesize = filesize; |