diff options
author | Matthew Wild <mwild1@gmail.com> | 2016-03-10 17:49:46 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2016-03-10 17:49:46 +0000 |
commit | a755aae795ef60f69f68ca774dd03fb1e5986425 (patch) | |
tree | 4a951a407aa7fd361dc674fdb6a26c60b3d0576c /util/iterators.lua | |
parent | 76c4635d44029aeb68c45b24c5d73ba4501b71ee (diff) | |
download | prosody-a755aae795ef60f69f68ca774dd03fb1e5986425.tar.gz prosody-a755aae795ef60f69f68ca774dd03fb1e5986425.zip |
util.iterators: Return initial var from upstream iterator [luacheck]
Diffstat (limited to 'util/iterators.lua')
-rw-r--r-- | util/iterators.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/iterators.lua b/util/iterators.lua index 92f75189..99b5f090 100644 --- a/util/iterators.lua +++ b/util/iterators.lua @@ -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 |