Changeset

2758:82109d8eca41

mod_delegation: fixed misplaced up() in <message> stanza generation
author Goffi <goffi@goffi.org>
date Wed, 30 Aug 2017 08:19:57 +0200
parents 2757:595d9d68fd11
children 2759:4bf60727459b
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	Sun Aug 27 21:35:08 2017 +0200
+++ b/mod_delegation/mod_delegation.lua	Wed Aug 30 08:19:57 2017 +0200
@@ -86,8 +86,8 @@
 				for _, attribute in pairs(ns_data.filtering) do
 					message:tag("attribute", {name=attribute}):up()
 				end
-				message:up()
 			end
+			message:up()
 		end
 	end