aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
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 /util/sasl.lua
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 'util/sasl.lua')
-rw-r--r--util/sasl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 46e75e48..528743d1 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -47,7 +47,7 @@ local registered_mechanisms = {};
local backend_mechanism = {};
local mechanism_channelbindings = {};
--- register a new SASL mechanims
+-- register a new SASL mechanisms
local function registerMechanism(name, backends, f, cb_backends)
assert(type(name) == "string", "Parameter name MUST be a string.");
assert(type(backends) == "string" or type(backends) == "table", "Parameter backends MUST be either a string or a table.");
@@ -97,7 +97,7 @@ function method:clean_clone()
return new(self.realm, self.profile)
end
--- get a list of possible SASL mechanims to use
+-- get a list of possible SASL mechanisms to use
function method:mechanisms()
local current_mechs = {};
for mech, _ in pairs(self.mechs) do