equal
deleted
inserted
replaced
235 if not error_tag then |
235 if not error_tag then |
236 return nil, nil, nil; |
236 return nil, nil, nil; |
237 end |
237 end |
238 type = error_tag.attr.type; |
238 type = error_tag.attr.type; |
239 |
239 |
240 for child in error_tag:childtags() do |
240 for _, child in ipairs(error_tag.tags) do |
241 if child.attr.xmlns == xmlns_stanzas then |
241 if child.attr.xmlns == xmlns_stanzas then |
242 if not text and child.name == "text" then |
242 if not text and child.name == "text" then |
243 text = child:get_text(); |
243 text = child:get_text(); |
244 elseif not condition then |
244 elseif not condition then |
245 condition = child.name; |
245 condition = child.name; |