aboutsummaryrefslogtreecommitdiffstats
path: root/util
diff options
context:
space:
mode:
authorMatthew Wild <mwild1@gmail.com>2011-12-21 07:58:22 +0000
committerMatthew Wild <mwild1@gmail.com>2011-12-21 07:58:22 +0000
commita60732b6660b4318caa847ecc17b9f106006f9ba (patch)
treeb400700fd0d6812e57cdb0a5951a479138277daf /util
parent2ffa0eecf38d4588ba81a9869582830b0838db1f (diff)
downloadprosody-a60732b6660b4318caa847ecc17b9f106006f9ba.tar.gz
prosody-a60732b6660b4318caa847ecc17b9f106006f9ba.zip
util.stanza: Remove unused __add metamethod
Diffstat (limited to 'util')
-rw-r--r--util/stanza.lua5
1 files changed, 0 insertions, 5 deletions
diff --git a/util/stanza.lua b/util/stanza.lua
index de83977f..600212a4 100644
--- a/util/stanza.lua
+++ b/util/stanza.lua
@@ -258,11 +258,6 @@ function stanza_mt.get_error(stanza)
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()