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 | e2f3356e2404641840283b8d439137e58604346b (patch) | |
tree | 4a951a407aa7fd361dc674fdb6a26c60b3d0576c | |
parent | e5d07c158f99a78a1e69c4ad2ffc297e2c6d4dea (diff) | |
download | prosody-e2f3356e2404641840283b8d439137e58604346b.tar.gz prosody-e2f3356e2404641840283b8d439137e58604346b.zip |
util.iterators: Return initial var from upstream iterator [luacheck]
-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 |