mirror of
https://github.com/bjc/prosody.git
synced 2025-04-04 05:37:39 +03:00
util.iterators: Return initial var from upstream iterator [luacheck]
This commit is contained in:
parent
e5d07c158f
commit
e2f3356e24
1 changed files with 1 additions and 1 deletions
|
@ -93,7 +93,7 @@ function it.head(n, f, s, var)
|
|||
end
|
||||
c = c + 1;
|
||||
return f(s, var);
|
||||
end, s;
|
||||
end, s, var;
|
||||
end
|
||||
|
||||
-- Skip the first n items an iterator returns
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue