diff options
author | Matthew Wild <mwild1@gmail.com> | 2008-11-13 16:58:29 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2008-11-13 16:58:29 +0000 |
commit | 11ec0f82d756ef0a7d4bcd56151367126b3a20bf (patch) | |
tree | 98b20c6ccab370f68dbddeceb22dfd5e62ff67b1 /util/stanza.lua | |
parent | 22926813345e5f0046b846cd7817e9483ad4c8e6 (diff) | |
parent | a1740642f2a9af6bf42747fe0b4bf2148fc38449 (diff) | |
download | prosody-11ec0f82d756ef0a7d4bcd56151367126b3a20bf.tar.gz prosody-11ec0f82d756ef0a7d4bcd56151367126b3a20bf.zip |
Merge from waqas
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/util/stanza.lua b/util/stanza.lua index 5339b91e..cfa33c5b 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -157,6 +157,9 @@ function deserialize(stanza) end stanza.tags = tags; end + if not stanza.last_add then + stanza.last_add = {}; + end end return stanza; |