aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-01-20 18:16:10 +0100
committerKim Alvefur <zash@zash.se>2023-01-20 18:16:10 +0100
commitb15a8e136020b8fa5e8adc19740fa5f6bc1897e4 (patch)
treed40b464fa643f7e937162a25f0a22b11dbf741a6
parent762e56920b183d8334cc7fe4eb9c46ca561f273a (diff)
downloadprosody-b15a8e136020b8fa5e8adc19740fa5f6bc1897e4.tar.gz
prosody-b15a8e136020b8fa5e8adc19740fa5f6bc1897e4.zip
mod_admin_socket: Fix typo in comments
Introduced in 6966026262f4
-rw-r--r--plugins/mod_admin_socket.lua2
-rw-r--r--util/adminstream.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_admin_socket.lua b/plugins/mod_admin_socket.lua
index c4e1d260..38947a44 100644
--- a/plugins/mod_admin_socket.lua
+++ b/plugins/mod_admin_socket.lua
@@ -8,7 +8,7 @@ if have_unix and type(unix) == "function" then
-- constructor was exported instead of a module table. Due to the lack of a
-- proper release of LuaSocket, distros have settled on shipping either the
-- last RC tag or some commit since then.
- -- Here we accomodate both variants.
+ -- Here we accommodate both variants.
unix = { stream = unix };
end
if not have_unix or type(unix) ~= "table" then
diff --git a/util/adminstream.lua b/util/adminstream.lua
index 4075aa05..ba8ce0a0 100644
--- a/util/adminstream.lua
+++ b/util/adminstream.lua
@@ -145,7 +145,7 @@ local function new_connection(socket_path, listeners)
-- constructor was exported instead of a module table. Due to the lack of a
-- proper release of LuaSocket, distros have settled on shipping either the
-- last RC tag or some commit since then.
- -- Here we accomodate both variants.
+ -- Here we accommodate both variants.
unix = { stream = unix };
end
if type(unix) ~= "table" then