Diff

util/stanza.lua @ 4462:2ee422bdafbe

util.stanza: Remove unused __add metamethod
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Dec 2011 07:58:22 +0000
parent 4200:fb487ee690ea
child 4749:b9de59ea8dad
line wrap: on
line diff
--- 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()