Software /
code /
prosody-modules
Changeset
1988:d7c1daaf2dea
mod_delegation: fixed attribute filtering
author | Goffi <goffi@goffi.org> |
---|---|
date | Tue, 01 Dec 2015 12:43:04 +0100 |
parents | 1955:f719d5e6c627 |
children | 1989:2c9b227dd580 |
files | mod_delegation/mod_delegation.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_delegation/mod_delegation.lua Tue Nov 24 15:32:54 2015 +0100 +++ b/mod_delegation/mod_delegation.lua Tue Dec 01 12:43:04 2015 +0100 @@ -265,7 +265,7 @@ end if ns_data.filtering then local first_child = stanza.tags[1] - for _, attribute in ns_data.filtering do + for _, attribute in pairs(ns_data.filtering) do -- if any filtered attribute if not present, -- we must continue the normal bahaviour if not first_child.attr[attribute] then