diff options
author | Matthew Wild <mwild1@gmail.com> | 2012-07-05 17:40:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2012-07-05 17:40:12 +0100 |
commit | d7fbc07ca4b77809e07fc47e60f4ca87a7e9f997 (patch) | |
tree | d14b44262cee1dc74af32fbaa4658385b9552152 /util/sasl.lua | |
parent | bb7fd8bb306ea2d2893bb7c5bc460ec2f9886687 (diff) | |
parent | 02dc79e546ce19f54b858c102943ee6d80eec584 (diff) | |
download | prosody-d7fbc07ca4b77809e07fc47e60f4ca87a7e9f997.tar.gz prosody-d7fbc07ca4b77809e07fc47e60f4ca87a7e9f997.zip |
Merge 0.9->trunk
Diffstat (limited to 'util/sasl.lua')
-rw-r--r-- | util/sasl.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua index 17d10b80..afb3861b 100644 --- a/util/sasl.lua +++ b/util/sasl.lua @@ -35,7 +35,7 @@ local mechanisms = {}; local backend_mechanism = {}; -- register a new SASL mechanims -local function registerMechanism(name, backends, f) +function registerMechanism(name, backends, f) 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."); |