aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_http_file_share.lua3
1 files changed, 3 insertions, 0 deletions
diff --git a/plugins/mod_http_file_share.lua b/plugins/mod_http_file_share.lua
index ab9940b9..7b9aff75 100644
--- a/plugins/mod_http_file_share.lua
+++ b/plugins/mod_http_file_share.lua
@@ -442,6 +442,9 @@ function handle_download(event, path) -- GET /uploads/:slot+filename
handle:close();
return 416;
end
+ else
+ handle:close();
+ return 416;
end
end