Diff

util/sasl.lua @ 4940:39781d4d3173

Merge 0.9->trunk
author Matthew Wild <mwild1@gmail.com>
date Thu, 05 Jul 2012 17:40:12 +0100
parent 4933:630cb694b364
child 5687:e879b53e9df8
line wrap: on
line diff
--- a/util/sasl.lua	Thu Jul 05 00:15:49 2012 +0200
+++ b/util/sasl.lua	Thu Jul 05 17:40:12 2012 +0100
@@ -35,7 +35,7 @@
 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.");