diff options
author | Matthew Wild <mwild1@gmail.com> | 2011-12-21 07:58:22 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2011-12-21 07:58:22 +0000 |
commit | a60732b6660b4318caa847ecc17b9f106006f9ba (patch) | |
tree | b400700fd0d6812e57cdb0a5951a479138277daf /util/stanza.lua | |
parent | 2ffa0eecf38d4588ba81a9869582830b0838db1f (diff) | |
download | prosody-a60732b6660b4318caa847ecc17b9f106006f9ba.tar.gz prosody-a60732b6660b4318caa847ecc17b9f106006f9ba.zip |
util.stanza: Remove unused __add metamethod
Diffstat (limited to 'util/stanza.lua')
-rw-r--r-- | util/stanza.lua | 5 |
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() |