aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2013-04-06 12:21:01 +0100
committerMatthew Wild <mwild1@gmail.com>2013-04-06 12:21:01 +0100
commitd3aa2851d328cbcd3c9660b945c7acae71657a89 (patch)
tree6da59d780aac29a56fe51066eb42129e397a1054 /util/stanza.lua
parentdcd474ce5ebb61668046c1fdc3ac8fa9a4f88b8c (diff)
parent94eebdf657db32ddca636e3cd83b335682c671e0 (diff)
downloadprosody-d3aa2851d328cbcd3c9660b945c7acae71657a89.tar.gz
prosody-d3aa2851d328cbcd3c9660b945c7acae71657a89.zip
Merge 0.9->trunk
Diffstat (limited to 'util/stanza.lua')
-rw-r--r--util/stanza.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index 59c88c4e..7c214210 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -166,7 +166,7 @@ function stanza_mt:maptags(callback)
curr_tag = curr_tag - 1;
else
self[i] = ret;
- tags[i] = ret;
+ tags[curr_tag] = ret;
end
curr_tag = curr_tag + 1;
end