Diff

mod_delegation/mod_delegation.lua @ 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
parent 2752:d0e75bf21d30
child 3271:7504f765e767
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