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 /util/sasl_cyrus.lua | |
parent | 2bf7a07f9e107956e6caa8f697c263791ac18d48 (diff) | |
parent | 2c5542977bd0a7c51d1aa3f93a5799f85a7f762d (diff) | |
download | prosody-82ee60ce09e0cf87de79a4e1cc6476408ae54d7f.tar.gz prosody-82ee60ce09e0cf87de79a4e1cc6476408ae54d7f.zip |
Merge with 0.7
Diffstat (limited to 'util/sasl_cyrus.lua')
-rw-r--r-- | util/sasl_cyrus.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua index 57c6ba3c..980af598 100644 --- a/util/sasl_cyrus.lua +++ b/util/sasl_cyrus.lua @@ -87,6 +87,7 @@ end -- select a mechanism to use function method:select(mechanism) self.mechanism = mechanism; + if not self.mechs then self:mechanisms(); end return self.mechs[mechanism]; end |