projects
/
prosody.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
net.dns: Close voided sockets, so they don't stay in net.server
[prosody.git]
/
util
/
stanza.lua
diff --git
a/util/stanza.lua
b/util/stanza.lua
index 5c430f1d887ce0833ebff89505145f3a30cad97a..a0ab2a5aa0ae5d9be003fba34a2682931154ef81 100644
(file)
--- a/
util/stanza.lua
+++ b/
util/stanza.lua
@@
-237,7
+237,7
@@
function stanza_mt.get_error(stanza)
end
type = error_tag.attr.type;
- for
child in error_tag:childtags(
) do
+ for
_, child in ipairs(error_tag.tags
) do
if child.attr.xmlns == xmlns_stanzas then
if not text and child.name == "text" then
text = child:get_text();