aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--util/template.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/util/template.lua b/util/template.lua
index 7baf10e1..ebd8be14 100644
--- a/util/template.lua
+++ b/util/template.lua
@@ -78,7 +78,7 @@ local function create_attr_string(attr, xmlns)
end
local function create_clone_string(stanza, lookup, xmlns)
if not lookup[stanza] then
- local s = ('setmetatable({name=%q,attr=%s,last_add={},tags={'):format(stanza.name, create_attr_string(stanza.attr, xmlns));
+ local s = ('setmetatable({name=%q,attr=%s,tags={'):format(stanza.name, create_attr_string(stanza.attr, xmlns));
-- add tags
for i,tag in ipairs(stanza.tags) do
s = s..create_clone_string(tag, lookup, stanza.attr.xmlns)..";";