From 9936532e18d408038aeb31cf7def7ccb6ee36694 Mon Sep 17 00:00:00 2001 From: Tobias Markmann Date: Mon, 28 Dec 2009 22:08:32 +0100 Subject: util.sasl_cyrus: Change variable name. --- util/sasl_cyrus.lua | 4 ++-- 1 file 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 -- cgit v1.2.3