Diff

util/stanza.lua @ 251:5b6dec537914

Merge from waqas
author Matthew Wild <mwild1@gmail.com>
date Thu, 13 Nov 2008 16:58:29 +0000
parent 242:f15afbcbc55c
parent 246:0904fd197cbe
child 262:8c73fb2ff4a2
line wrap: on
line diff
--- a/util/stanza.lua	Thu Nov 13 16:47:16 2008 +0000
+++ b/util/stanza.lua	Thu Nov 13 16:58:29 2008 +0000
@@ -157,6 +157,9 @@
 			end
 			stanza.tags = tags;
 		end
+		if not stanza.last_add then
+			stanza.last_add = {};
+		end
 	end
 	
 	return stanza;