aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/mod_http_files.lua
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2022-03-07 00:13:56 +0100
committerKim Alvefur <zash@zash.se>2022-03-07 00:13:56 +0100
commit43351d2b54f7d8451a0e1ada7a72514c1ae1e396 (patch)
tree69239d940028f6a8a29b1f6b0524d932d1553c7b /plugins/mod_http_files.lua
parentece896d2532cc91ea95c0194e3db439c364235eb (diff)
downloadprosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.tar.gz
prosody-43351d2b54f7d8451a0e1ada7a72514c1ae1e396.zip
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work Maybe I missed something.
Diffstat (limited to 'plugins/mod_http_files.lua')
-rw-r--r--plugins/mod_http_files.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_http_files.lua b/plugins/mod_http_files.lua
index 4d0b14cd..69389b7f 100644
--- a/plugins/mod_http_files.lua
+++ b/plugins/mod_http_files.lua
@@ -75,12 +75,12 @@ function serve(opts)
opts.index_files = dir_indices;
end
-- TODO Crank up to warning
- module:log("debug", "%s should be updated to use 'net.http.files' insead of mod_http_files", get_calling_module());
+ module:log("debug", "%s should be updated to use 'net.http.files' instead of mod_http_files", get_calling_module());
return fileserver.serve(opts);
end
function wrap_route(routes)
- module:log("debug", "%s should be updated to use 'net.http.files' insead of mod_http_files", get_calling_module());
+ module:log("debug", "%s should be updated to use 'net.http.files' instead of mod_http_files", get_calling_module());
for route,handler in pairs(routes) do
if type(handler) ~= "function" then
routes[route] = fileserver.serve(handler);