Diff

util/sasl.lua @ 2735:65bbc4b67733

util.sasl: Fixed a nil global access.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 02 Mar 2010 00:51:27 +0500
parent 2254:f966c8699f5b
child 2925:692b3c6c5bd2
child 2997:6ccaefea80ec
line wrap: on
line diff
--- a/util/sasl.lua	Tue Mar 02 00:50:54 2010 +0500
+++ b/util/sasl.lua	Tue Mar 02 00:51:27 2010 +0500
@@ -143,7 +143,7 @@
 end
 
 -- load the mechanisms
-load_mechs = {"plain", "digest-md5", "anonymous", "scram"}
+local load_mechs = {"plain", "digest-md5", "anonymous", "scram"}
 for _, mech in ipairs(load_mechs) do
 	local name = "util.sasl."..mech;
 	local m = require(name);