aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2018-10-10 21:53:26 +0200
committerKim Alvefur <zash@zash.se>2018-10-10 21:53:26 +0200
commit35efbc8a8d4c01dc381b03c6bc3b957702ad8a43 (patch)
treef0443452ca0a7036fe48c6da314b7637ef0f1497
parent681bf7434283eb2daa30076b6de2cb8f1d4f3de8 (diff)
downloadprosody-35efbc8a8d4c01dc381b03c6bc3b957702ad8a43.tar.gz
prosody-35efbc8a8d4c01dc381b03c6bc3b957702ad8a43.zip
mod_http_files: Silence luacheck warnings related to config variables
-rw-r--r--plugins/mod_http_files.lua1
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua
index c5986e37..6206d584 100644
--- a/plugins/mod_http_files.lua
+++ b/plugins/mod_http_files.lua
@@ -89,6 +89,7 @@ function serve(opts)
if type(opts) ~= "table" then -- assume path string
opts = { path = opts };
end
+ -- luacheck: ignore 431
local base_path = opts.path;
local dir_indices = opts.index_files or dir_indices;
local directory_index = opts.directory_index;