aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
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);