aboutsummaryrefslogtreecommitdiffstats
path: root/util/stanza.lua
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
commitd0f4bbd2dbe8a2ff9088cd47dad8418d1030637e (patch)
treeb400700fd0d6812e57cdb0a5951a479138277daf /util/stanza.lua
parentf5b0bf49fd4c6cc8ca82e356332620e9eb50cfb0 (diff)
downloadprosody-d0f4bbd2dbe8a2ff9088cd47dad8418d1030637e.tar.gz
prosody-d0f4bbd2dbe8a2ff9088cd47dad8418d1030637e.zip
util.stanza: Remove unused __add metamethod
Diffstat (limited to 'util/stanza.lua')
-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()