plugins/mod_http_file_share.lua
changeset 11869 77bbbd4263d7
parent 11868 fceebfb28d86
child 11877 2b85e4e7d389
--- 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();