aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
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 8f91f7b5..ab8b78a8 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -111,7 +111,7 @@ function method:select(mechanism)
return false;
end
- self.mech_i = self.mechs[mechanism];
+ self.mech_i = mechanisms[self.mechanisms()[mechanism] and mechanism];
return (self.mech_i ~= nil);
end