aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2013-10-07 17:57:06 -0400
committerWaqas Hussain <waqas20@gmail.com>2013-10-07 17:57:06 -0400
commit5d1301a4f448df82fae071c3f91f786446252795 (patch)
tree48a8426be2011ec03a4c01a3a4b93afe293aa86f /util
parent913e2225b5dcf1baf7d623122046da4f27766a04 (diff)
downloadprosody-5d1301a4f448df82fae071c3f91f786446252795.tar.gz
prosody-5d1301a4f448df82fae071c3f91f786446252795.zip
util.sasl: Make registerMechanism a public function (again)
Diffstat (limited to 'util')
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 0d90880d..2eb52c1d 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -48,7 +48,7 @@ local backend_mechanism = {};
local mechanism_channelbindings = {};
-- register a new SASL mechanims
-local function registerMechanism(name, backends, f, cb_backends)
+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.");
assert(type(f) == "function", "Parameter f MUST be a function.");