aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/iterators.lua2
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