diff options
author | Florian Zeitz <florob@babelmonkeys.de> | 2010-09-01 22:44:30 +0200 |
---|---|---|
committer | Florian Zeitz <florob@babelmonkeys.de> | 2010-09-01 22:44:30 +0200 |
commit | 78c373818497d0b6c3e6e4ae60eecb68538c85c5 (patch) | |
tree | f0faad17b81a364d47d9f53c7be21793e0c60266 /plugins/adhoc/adhoc.lib.lua | |
parent | a0a2887bf66a930635505a567c350def6b962143 (diff) | |
download | prosody-78c373818497d0b6c3e6e4ae60eecb68538c85c5.tar.gz prosody-78c373818497d0b6c3e6e4ae60eecb68538c85c5.zip |
mod_adhoc: Fix passing data to util.dataforms
Diffstat (limited to 'plugins/adhoc/adhoc.lib.lua')
-rw-r--r-- | plugins/adhoc/adhoc.lib.lua | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/plugins/adhoc/adhoc.lib.lua b/plugins/adhoc/adhoc.lib.lua index 361f4731..d4ffd80c 100644 --- a/plugins/adhoc/adhoc.lib.lua +++ b/plugins/adhoc/adhoc.lib.lua @@ -69,9 +69,9 @@ function _M.handle_cmd(command, origin, stanza) end cmdtag:add_child(actions); elseif name == "form" then - cmdtag:add_child((content.layout or content):form(content.data)); + cmdtag:add_child((content.layout or content):form(content.values)); elseif name == "result" then - cmdtag:add_child((content.layout or content):form(content.data, "result")); + cmdtag:add_child((content.layout or content):form(content.values, "result")); elseif name == "other" then cmdtag:add_child(content); end |