Diff

util/sasl_cyrus.lua @ 3363:a4bb658d3fcb

SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array.
author Waqas Hussain <waqas20@gmail.com>
date Wed, 14 Jul 2010 19:56:57 +0500
parent 3299:4448789c19ca
child 3365:32dc830d976c
line wrap: on
line diff
--- a/util/sasl_cyrus.lua	Wed Jul 14 19:49:43 2010 +0500
+++ b/util/sasl_cyrus.lua	Wed Jul 14 19:56:57 2010 +0500
@@ -135,7 +135,7 @@
 		mechanisms[w] = true;
 	end
 	self.mechs = mechanisms
-	return array.collect(keys(mechanisms));
+	return mechanisms;
 end
 
 -- select a mechanism to use