Software /
code /
prosody
Diff
util/sasl.lua @ 12387:05c250fa335a
Spelling: Fix various spelling mistakes (thanks timeless)
Words, sometimes I wonder how they even work
Maybe I missed something.
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Mon, 07 Mar 2022 00:13:56 +0100 |
parent | 11727:f3aee8a825cc |
child | 12911:ab1164eda011 |
line wrap: on
line diff
--- a/util/sasl.lua Sun Mar 06 15:13:50 2022 +0100 +++ b/util/sasl.lua Mon Mar 07 00:13:56 2022 +0100 @@ -47,7 +47,7 @@ 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 @@ 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