aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_file_share.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua
index f57257bb..7b05c85a 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -289,7 +289,7 @@ function handle_upload(event, path) -- PUT /upload/:slot
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();