Changeset

4462:2ee422bdafbe

util.stanza: Remove unused __add metamethod
author Matthew Wild <mwild1@gmail.com>
date Wed, 21 Dec 2011 07:58:22 +0000
parents 4461:a81d045e7d16
children 4463:df2cbc52c83b
files util/stanza.lua
diffstat 1 files changed, 0 insertions(+), 5 deletions(-) [+]
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()