util/sasl_cyrus.lua
changeset 3373 cd6836586a6a
parent 3366 a2a242321901
child 3426 37b9b8e171b9
--- a/util/sasl_cyrus.lua	Thu Jul 15 08:27:56 2010 +0100
+++ b/util/sasl_cyrus.lua	Thu Jul 15 22:07:45 2010 +0500
@@ -144,7 +144,7 @@
 -- select a mechanism to use
 function method:select(mechanism)
 	self.mechanism = mechanism;
-	return self.mechanisms()[mechanism];
+	return self:mechanisms()[mechanism];
 end
 
 -- feed new messages to process into the library