aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
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
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')
-rw-r--r--plugins/adhoc/mod_adhoc.lua2
-rw-r--r--plugins/mod_http_files.lua4
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/adhoc/mod_adhoc.lua b/plugins/adhoc/mod_adhoc.lua
index 23846270..09a72075 100644
--- a/plugins/adhoc/mod_adhoc.lua
+++ b/plugins/adhoc/mod_adhoc.lua
@@ -91,7 +91,7 @@ end, 500);
local function adhoc_added(event)
local item = event.item;
- -- Dang this was noicy
+ -- Dang this was noisy
module:log("debug", "Command added by mod_%s: %q, %q", item._provided_by or "<unknown module>", item.name, item.node);
commands[item.node] = item;
end
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);