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
commit3b78f8ac621cc16ec089591a1ba7a8f8cbf85026 (patch)
tree6da59d780aac29a56fe51066eb42129e397a1054 /util/stanza.lua
parent591707b9103b710636b476ebe5471d61f93850a7 (diff)
parentd64f65005c8f931e44aa8f37a442051983caf4b2 (diff)
downloadprosody-3b78f8ac621cc16ec089591a1ba7a8f8cbf85026.tar.gz
prosody-3b78f8ac621cc16ec089591a1ba7a8f8cbf85026.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