Changeset

2722:2781d063afa0

Merge with 0.7/waqas
author Matthew Wild <mwild1@gmail.com>
date Mon, 01 Mar 2010 16:03:37 +0000
parents 2721:cf97b85c27b5 (current diff) 2720:289f68e704da (diff)
children 2723:2d5ed733f324 2724:3fcf1048a896
files
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl_cyrus.lua	Mon Mar 01 16:02:59 2010 +0000
+++ b/util/sasl_cyrus.lua	Mon Mar 01 16:03:37 2010 +0000
@@ -87,6 +87,7 @@
 -- 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