aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTobias Markmann <tm@ayena.de>2009-12-28 22:08:32 +0100
committerTobias Markmann <tm@ayena.de>2009-12-28 22:08:32 +0100
commit9936532e18d408038aeb31cf7def7ccb6ee36694 (patch)
tree028d2a944629edf5f04e658a040f3dbd2e25d298
parent5915724fd25160f81ea3a01c31d021626f14aa1d (diff)
downloadprosody-9936532e18d408038aeb31cf7def7ccb6ee36694.tar.gz
prosody-9936532e18d408038aeb31cf7def7ccb6ee36694.zip
util.sasl_cyrus: Change variable name.
-rw-r--r--util/sasl_cyrus.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua
index 4f503f16..0ed8161e 100644
--- a/util/sasl_cyrus.lua
+++ b/util/sasl_cyrus.lua
@@ -67,14 +67,14 @@ function method:mechanisms()
for w in s_gmatch(cyrus_mechs, "[^ ]+") do
mechanisms[w] = true;
end
- self.mechanisms = mechanisms
+ self.mechs = mechanisms
return array.collect(keys(mechanisms));
end
-- select a mechanism to use
function method:select(mechanism)
self.mechanism = mechanism;
- return self.mechanisms[mechanism];
+ return self.mechs[mechanism];
end
-- feed new messages to process into the library