Changeset

2735:65bbc4b67733

util.sasl: Fixed a nil global access.
author Waqas Hussain <waqas20@gmail.com>
date Tue, 02 Mar 2010 00:51:27 +0500
parents 2734:7941617b15f9
children 2736:27e8452cb426 2738:e253dd4714d5
files util/sasl.lua
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
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);