aboutsummaryrefslogtreecommitdiffstats
path: root/util/sasl.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/sasl.lua')
-rw-r--r--util/sasl.lua4
1 files changed, 2 insertions, 2 deletions
diff --git a/util/sasl.lua b/util/sasl.lua
index 1b90086e..a7e151a2 100644
--- a/util/sasl.lua
+++ b/util/sasl.lua
@@ -98,7 +98,7 @@ function method:mechanisms()
end
end
end
- self["possible_mechanisms"] = mechanisms;
+ self.mechs = mechanisms;
return mechanisms;
end
@@ -108,7 +108,7 @@ function method:select(mechanism)
return false;
end
- self.mech_i = mechanisms[mechanism];
+ self.mech_i = self.mechs[mechanism];
return (self.mech_i ~= nil);
end