# HG changeset patch # User Goffi # Date 1457632804 -3600 # Node ID cf9cd666ba0090cd902cc843b45c903d641774ce # Parent e9226e3bdeba6803dd49f2ed40f95d1b108813aa mod_delegation: fixed bad use of period instead of colon diff -r e9226e3bdeba -r cf9cd666ba00 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