diff options
author | Matthew Wild <mwild1@gmail.com> | 2010-08-30 04:55:12 +0100 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2010-08-30 04:55:12 +0100 |
commit | e3718ed22e0f68c3b3f60849a8dcc17edcd8bfc4 (patch) | |
tree | 4b85a7d9402b0669ac284f9b8f2817c8db79f35e | |
parent | f5fcc46905194ad7ddba1589c1d516f3907b45d2 (diff) | |
download | prosody-e3718ed22e0f68c3b3f60849a8dcc17edcd8bfc4.tar.gz prosody-e3718ed22e0f68c3b3f60849a8dcc17edcd8bfc4.zip |
util.stanza: stanza:matched_children() -> stanza:matching_tags()
-rw-r--r-- | util/stanza.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/util/stanza.lua b/util/stanza.lua index 50fe02f0..496a4881 100644 --- a/util/stanza.lua +++ b/util/stanza.lua @@ -126,7 +126,7 @@ function stanza_mt:children() 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; |