# HG changeset patch # User Kim Alvefur # Date 1634988721 -7200 # Node ID 77bbbd4263d79d79008ab9dd02a2e9136526a542 # Parent fceebfb28d865416bbe1bc1539e0f6f19cb1175e mod_http_file_share: Silence luacheck warning diff -r fceebfb28d86 -r 77bbbd4263d7 plugins/mod_http_file_share.lua --- 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();