Mercurial > prosody-hg
diff util/sasl.lua @ 5866:10a16fdebe2c
Merge 0.10->trunk
| author | Matthew Wild <mwild1@gmail.com> |
|---|---|
| date | Thu, 10 Oct 2013 22:27:01 +0100 |
| parents | abcbaf7f2e8e |
| children | f9e108f7db21 |
line wrap: on
line diff
--- a/util/sasl.lua Mon Oct 07 12:56:53 2013 +0200 +++ b/util/sasl.lua Thu Oct 10 22:27:01 2013 +0100 @@ -18,7 +18,6 @@ local setmetatable = setmetatable; local assert = assert; local require = require; -local print = print module "sasl" @@ -48,7 +47,7 @@ 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.");
