diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-03-01 16:04:35 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-03-01 16:04:35 +0000 |
commit | 82ee60ce09e0cf87de79a4e1cc6476408ae54d7f (patch) | |
tree | 7c3e54913dc92a19bf2de382a9559d2ffe358f08 /plugins/mod_saslauth.lua | |
parent | 2bf7a07f9e107956e6caa8f697c263791ac18d48 (diff) | |
parent | 2c5542977bd0a7c51d1aa3f93a5799f85a7f762d (diff) | |
download | prosody-82ee60ce09e0cf87de79a4e1cc6476408ae54d7f.tar.gz prosody-82ee60ce09e0cf87de79a4e1cc6476408ae54d7f.zip |
Merge with 0.7
Diffstat (limited to 'plugins/mod_saslauth.lua')
-rw-r--r-- | plugins/mod_saslauth.lua | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/plugins/mod_saslauth.lua b/plugins/mod_saslauth.lua index 0f4c8b4b..0f809bd8 100644 --- a/plugins/mod_saslauth.lua +++ b/plugins/mod_saslauth.lua @@ -36,7 +36,9 @@ local xmlns_stanzas ='urn:ietf:params:xml:ns:xmpp-stanzas'; local new_sasl; if sasl_backend == "cyrus" then + prosody.unlock_globals(); local ok, cyrus = pcall(require, "util.sasl_cyrus"); + prosody.lock_globals(); if ok then local cyrus_new = cyrus.new; new_sasl = function(realm) |