Changeset

2401:dbfdcb75209a

util.sasl_cyrus: Change variable name.
author Tobias Markmann <tm@ayena.de>
date Mon, 28 Dec 2009 22:08:32 +0100
parents 2400:b8d2168dc9c3
children 2402:0f884bb1f08a
files util/sasl_cyrus.lua
diffstat 1 files changed, 2 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/util/sasl_cyrus.lua	Mon Dec 28 20:21:49 2009 +0100
+++ b/util/sasl_cyrus.lua	Mon Dec 28 22:08:32 2009 +0100
@@ -67,14 +67,14 @@
 	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