Diff

util/sasl.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 3155:c713fa2ba80c
child 3364:6a5d77924949
line wrap: on
line diff
--- a/util/sasl.lua	Wed Jul 14 19:49:43 2010 +0500
+++ b/util/sasl.lua	Wed Jul 14 19:56:57 2010 +0500
@@ -99,7 +99,7 @@
 		end
 	end
 	self["possible_mechanisms"] = mechanisms;
-	return array.collect(keys(mechanisms));
+	return mechanisms;
 end
 
 -- select a mechanism to use