aboutsummaryrefslogtreecommitdiffstats
path: root/plugins
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2019-05-03 20:54:24 +0200
committerKim Alvefur <zash@zash.se>2019-05-03 20:54:24 +0200
commitf65c017ee107f86b353d5931e85a70e8c6067f1f (patch)
tree9c43d95649714eb15f29bd1d99b00c9cbb2fcf8d /plugins
parent6d6eefea93711449a6a72ca63b597c9016f19b58 (diff)
downloadprosody-f65c017ee107f86b353d5931e85a70e8c6067f1f.tar.gz
prosody-f65c017ee107f86b353d5931e85a70e8c6067f1f.zip
Fix various spelling mistakes [codespell]
Diffstat (limited to 'plugins')
-rw-r--r--plugins/mod_blocklist.lua2
-rw-r--r--plugins/mod_saslauth.lua2
2 files changed, 2 insertions, 2 deletions
diff --git a/plugins/mod_blocklist.lua b/plugins/mod_blocklist.lua
index 8aca7332..2193a093 100644
--- a/plugins/mod_blocklist.lua
+++ b/plugins/mod_blocklist.lua
@@ -159,7 +159,7 @@ local function edit_blocklist(event)
local blocklist = cache[username] or get_blocklist(username);
local new_blocklist = {
- -- We set the [false] key to someting as a signal not to migrate privacy lists
+ -- We set the [false] key to something as a signal not to migrate privacy lists
[false] = blocklist[false] or { created = now; };
};
if type(blocklist[false]) == "table" then
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua
index ba30b9e6..3145cf9b 100644
--- a/plugins/mod_saslauth.lua
+++ b/plugins/mod_saslauth.lua
@@ -248,7 +248,7 @@ module:hook("stream-features", function(event)
local sasl_handler = usermanager_get_sasl_handler(module.host, origin)
origin.sasl_handler = sasl_handler;
if origin.encrypted then
- -- check wether LuaSec has the nifty binding to the function needed for tls-unique
+ -- check whether LuaSec has the nifty binding to the function needed for tls-unique
-- FIXME: would be nice to have this check only once and not for every socket
if sasl_handler.add_cb_handler then
local socket = origin.conn:socket();