# HG changeset patch # User Goffi # Date 1448970184 -3600 # Node ID d7c1daaf2deab8c1fe8588edf7522dff57ebedaf # Parent f719d5e6c6271c0c6af9a447020d15fb72116402 mod_delegation: fixed attribute filtering diff -r f719d5e6c627 -r d7c1daaf2dea mod_delegation/mod_delegation.lua --- 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