mod_delegation: fixed bad use of period instead of colon
authorGoffi <goffi@goffi.org>
Thu, 10 Mar 2016 19:00:04 +0100
changeset 2073 cf9cd666ba00
parent 2072 e9226e3bdeba
child 2074 2356114ff505
mod_delegation: fixed bad use of period instead of colon
mod_delegation/mod_delegation.lua
--- 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