util.stanza: Remove unused __add metamethod
authorMatthew Wild <mwild1@gmail.com>
Wed, 21 Dec 2011 07:58:22 +0000
changeset 4462 2ee422bdafbe
parent 4461 a81d045e7d16
child 4463 df2cbc52c83b
util.stanza: Remove unused __add metamethod
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()