aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2023-04-07 17:18:23 +0200
committerKim Alvefur <zash@zash.se>2023-04-07 17:18:23 +0200
commit323408cfc9bd2d685d10372fed2fa903ec7f7125 (patch)
treec6f12b8158332b464fa7c542d50d3cae1af65070
parentb6ca51db43b4813cff718f71bb3761b09ff854d9 (diff)
downloadprosody-323408cfc9bd2d685d10372fed2fa903ec7f7125.tar.gz
prosody-323408cfc9bd2d685d10372fed2fa903ec7f7125.zip
util.sasl: Fix a singulars
Thanks timeless, your mere existence inspires us to improve our spelling, tho this was more syntax.
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 6ab60d57..c3c22a1c 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 mechanisms
+-- register a new SASL mechanism
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.");