aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl_cyrus.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_cyrus.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_cyrus.lua')
-rw-r--r--util/sasl_cyrus.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua
index 0676bcf7..f5bfcbe9 100644
--- a/util/sasl_cyrus.lua
+++ b/util/sasl_cyrus.lua
@@ -144,7 +144,7 @@ end
-- 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