Diff

util/stanza.lua @ 3478:4621c92d2368

util.stanza: stanza:matched_children() -> stanza:matching_tags()
author Matthew Wild <mwild1@gmail.com>
date Mon, 30 Aug 2010 04:55:12 +0100
parent 3477:6350b114e0e4
child 3502:28887137bb1b
line wrap: on
line diff
--- a/util/stanza.lua	Mon Aug 30 04:53:41 2010 +0100
+++ b/util/stanza.lua	Mon Aug 30 04:55:12 2010 +0100
@@ -126,7 +126,7 @@
 		end, self, i;
 end
 
-function stanza_mt:matched_children(name, xmlns)
+function stanza_mt:matching_tags(name, xmlns)
 	xmlns = xmlns or self.attr.xmlns;
 	local tags = self.tags;
 	local start_i, max_i = 1, #tags;