changeset 2069:cf9cd666ba00

mod_delegation: fixed bad use of period instead of colon
author Goffi <goffi@goffi.org>
date Thu, 10 Mar 2016 19:00:04 +0100
parents e9226e3bdeba
children 2356114ff505
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	Thu Mar 10 19:00:04 2016 +0100
+++ b/mod_delegation/mod_delegation.lua	Thu Mar 10 19:00:04 2016 +0100
@@ -299,7 +299,7 @@
 
 local function find_form_type(stanza)
 	local form_type = nil
-	for field in stanza.childtags('field', 'jabber:x:data') do
+	for field in stanza:childtags('field', 'jabber:x:data') do
 		if field.attr.var=='FORM_TYPE' and field.attr.type=='hidden' then
 			local value = field:get_child('value')
 			if not value then