Software /
code /
prosody
Changeset
11865:77bbbd4263d7
mod_http_file_share: Silence luacheck warning
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Sat, 23 Oct 2021 13:32:01 +0200 |
parents | 11864:fceebfb28d86 |
children | 11866:515a89dee6ae |
files | plugins/mod_http_file_share.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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();