Diff

util/sasl.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 3427:046a8cf304dd
line wrap: on
line diff
--- a/util/sasl.lua	Thu Jul 15 08:27:56 2010 +0100
+++ b/util/sasl.lua	Thu Jul 15 22:07:45 2010 +0500
@@ -111,7 +111,7 @@
 		return false;
 	end
 	
-	self.mech_i = mechanisms[self.mechanisms()[mechanism] and mechanism];
+	self.mech_i = mechanisms[self:mechanisms()[mechanism] and mechanism];
 	return (self.mech_i ~= nil);
 end