Diff

util/sasl_cyrus.lua @ 3373:cd6836586a6a

util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in method:select().
author Waqas Hussain <waqas20@gmail.com>
date Thu, 15 Jul 2010 22:07:45 +0500
parent 3366:a2a242321901
child 3426:37b9b8e171b9
line wrap: on
line diff
--- 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