diff options
Diffstat (limited to 'util/sasl_cyrus.lua')
-rw-r--r-- | util/sasl_cyrus.lua | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/util/sasl_cyrus.lua b/util/sasl_cyrus.lua index 5178f7cd..0676bcf7 100644 --- a/util/sasl_cyrus.lua +++ b/util/sasl_cyrus.lua @@ -144,8 +144,7 @@ end -- select a mechanism to use function method:select(mechanism) self.mechanism = mechanism; - if not self.mechs then self:mechanisms(); end - return self.mechs[mechanism]; + return self.mechanisms()[mechanism]; end -- feed new messages to process into the library |