From 43351d2b54f7d8451a0e1ada7a72514c1ae1e396 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Mon, 7 Mar 2022 00:13:56 +0100 Subject: Spelling: Fix various spelling mistakes (thanks timeless) Words, sometimes I wonder how they even work Maybe I missed something. --- plugins/adhoc/mod_adhoc.lua | 2 +- plugins/mod_http_files.lua | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'plugins') 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 "", 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); -- cgit v1.2.3