Software /
code /
prosody
Diff
plugins/mod_saslauth.lua @ 2721:cf97b85c27b5
mod_saslauth: Unlock globals while loading cyrus
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Mon, 01 Mar 2010 16:02:59 +0000 |
parent | 2647:0ddb3c4dc9d1 |
child | 2724:3fcf1048a896 |
line wrap: on
line diff
--- a/plugins/mod_saslauth.lua Sat Feb 27 19:46:04 2010 +0000 +++ b/plugins/mod_saslauth.lua Mon Mar 01 16:02:59 2010 +0000 @@ -36,7 +36,9 @@ 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)