Comparison

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
comparison
equal deleted inserted replaced
3372:395f692b3182 3373:cd6836586a6a
142 end 142 end
143 143
144 -- select a mechanism to use 144 -- select a mechanism to use
145 function method:select(mechanism) 145 function method:select(mechanism)
146 self.mechanism = mechanism; 146 self.mechanism = mechanism;
147 return self.mechanisms()[mechanism]; 147 return self:mechanisms()[mechanism];
148 end 148 end
149 149
150 -- feed new messages to process into the library 150 -- feed new messages to process into the library
151 function method:process(message) 151 function method:process(message)
152 local err; 152 local err;