projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
util.iterators: Add skip() to skip the first n items of an iterator
[prosody.git]
/
util
/
sasl.lua
diff --git
a/util/sasl.lua
b/util/sasl.lua
index 8f91f7b5d7d8f84eb8e438fe774a9e8ebfc5bdc6..5d1b9f17f3d5e2e8e76f517b522bf45ebfee20c7 100644
(file)
--- 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