aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
authorWaqas Hussain <waqas20@gmail.com>2010-07-15 22:07:45 +0500
committerWaqas Hussain <waqas20@gmail.com>2010-07-15 22:07:45 +0500
commitdbaf69573086491112c50efab5ad35d2b4082e5b (patch)
tree20fdafd0385a0d9824adefb8b2a49e4b27b65e9c /util/sasl.lua
parent948f1a6aedb694d02771180c963c2105ecee0fb2 (diff)
downloadprosody-dbaf69573086491112c50efab5ad35d2b4082e5b.tar.gz
prosody-dbaf69573086491112c50efab5ad35d2b4082e5b.zip
util.sasl, util.sasl_cyrus: s/self.mechanisms()/self:mechanisms()/ in method:select().
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index ab8b78a8..5d1b9f17 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -111,7 +111,7 @@ function method:select(mechanism)
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