# HG changeset patch # User Matthew Wild # Date 1324454302 0 # Node ID 2ee422bdafbef6f8a1e774fa193f0cc6fbee8666 # Parent a81d045e7d16af731b24c58581e8df6236a3ff28 util.stanza: Remove unused __add metamethod diff -r a81d045e7d16 -r 2ee422bdafbe util/stanza.lua --- a/util/stanza.lua Tue Dec 20 17:36:38 2011 +0000 +++ b/util/stanza.lua Wed Dec 21 07:58:22 2011 +0000 @@ -258,11 +258,6 @@ return type, condition or "undefined-condition", text; end -function stanza_mt.__add(s1, s2) - return s1:add_direct_child(s2); -end - - do local id = 0; function new_id()