aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-03-02 00:51:27 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-03-02 00:51:27 +0500
commit29e84d0af11fad1c6091340978065b7586193228 (patch)
tree86f0be046dd7c3702eb62fb0643d1388177ac77e /util/sasl.lua
parent675aab41f91a524d114f43ded53569f9496197f2 (diff)
downloadprosody-29e84d0af11fad1c6091340978065b7586193228.tar.gz
prosody-29e84d0af11fad1c6091340978065b7586193228.zip
util.sasl: Fixed a nil global access.
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 9c8fff78..2aa7fa1f 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -143,7 +143,7 @@ function method:process(message)
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);