aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl_cyrus.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-07-14 19:56:57 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-07-14 19:56:57 +0500
commitfa595a9dd36744d8abc7a872674bee76cfec0991 (patch)
tree654cba5b778dbdb44784bd968f6fd51f71185368 /util/sasl_cyrus.lua
parent1e37132a58601e6a40a697928d30d38635d0af9d (diff)
downloadprosody-fa595a9dd36744d8abc7a872674bee76cfec0991.tar.gz
prosody-fa595a9dd36744d8abc7a872674bee76cfec0991.zip
SASL: Simplified sasl_handler:mechanisms() to return a set, and not an array.
Diffstat (limited to 'util/sasl_cyrus.lua')
-rw-r--r--util/sasl_cyrus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua
index 7d35b5e4..b03174f5 100644
--- a/util/sasl_cyrus.lua
+++ b/util/sasl_cyrus.lua
@@ -135,7 +135,7 @@ function method:mechanisms()
mechanisms[w] = true;
end
self.mechs = mechanisms
- return array.collect(keys(mechanisms));
+ return mechanisms;
end
-- select a mechanism to use