diff options
author | Matthew Wild <mwild1@gmail.com> | 2013-04-06 12:21:01 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2013-04-06 12:21:01 +0100 |
commit | 3b78f8ac621cc16ec089591a1ba7a8f8cbf85026 (patch) | |
tree | 6da59d780aac29a56fe51066eb42129e397a1054 /util/stanza.lua | |
parent | 591707b9103b710636b476ebe5471d61f93850a7 (diff) | |
parent | d64f65005c8f931e44aa8f37a442051983caf4b2 (diff) | |
download | prosody-3b78f8ac621cc16ec089591a1ba7a8f8cbf85026.tar.gz prosody-3b78f8ac621cc16ec089591a1ba7a8f8cbf85026.zip |
Merge 0.9->trunk
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 2 |
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 |