Software /
code /
verse
Changeset
198:f6702e7ce5f9
libs/adhoc.lib.lua: Update copy (ugh) from Prosody
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Fri, 18 Mar 2011 21:33:53 +0000 |
parents | 197:7e98cf2c1d8d |
children | 199:33b54389ed9c |
files | libs/adhoc.lib.lua |
diffstat | 1 files changed, 3 insertions(+), 3 deletions(-) [+] |
line wrap: on
line diff
--- a/libs/adhoc.lib.lua Thu Mar 17 18:33:52 2011 +0100 +++ b/libs/adhoc.lib.lua Fri Mar 18 21:33:53 2011 +0000 @@ -46,7 +46,7 @@ stanza = st.error_reply(stanza, data.error.type, data.error.condition, data.error.message); origin.send(stanza); return true; - else + else cmdtag = command:cmdtag("executing", sessionid); end @@ -69,9 +69,9 @@ 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