Software /
code /
prosody
Diff
plugins/mod_http_file_share.lua @ 11865:77bbbd4263d7
mod_http_file_share: Silence luacheck warning
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Oct 2021 13:32:01 +0200 |
parent | 11864:fceebfb28d86 |
child | 11873:2b85e4e7d389 |
line wrap: on
line diff
--- a/plugins/mod_http_file_share.lua Sat Oct 23 01:53:07 2021 +0200 +++ b/plugins/mod_http_file_share.lua Sat Oct 23 13:32:01 2021 +0200 @@ -289,7 +289,7 @@ module:log("error", "Could not open file for writing: %s", err); return 500; end - function event.response:on_destroy() + function event.response:on_destroy() -- luacheck: ignore 212/self -- Clean up incomplete upload if io.type(fh) == "file" then -- still open fh:close();