aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
Diffstat (limited to 'util/stanza.lua')
-rw-r--r--util/stanza.lua3
1 files changed, 1 insertions, 2 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index e787cacf..3ab4bb42 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -122,8 +122,7 @@ function stanza_mt:children()
local i = 0;
return function (a)
i = i + 1
- local v = a[i]
- if v then return v; end
+ return a[i];
end, self, i;
end