Software /
code /
prosody-modules
Changeset
149:b8a89ebf71e3
mod_adhoc: default action is "execute"
author | Florian Zeitz < florob@babelmonkeys.de> |
---|---|
date | Thu, 15 Apr 2010 23:57:07 +0200 |
parents | 148:f2f9b965d1ad |
children | 150:fd7f7ebf257e |
files | mod_adhoc/adhoc/adhoc.lib.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/mod_adhoc/adhoc/adhoc.lib.lua Tue Apr 13 04:52:15 2010 +0100 +++ b/mod_adhoc/adhoc/adhoc.lib.lua Thu Apr 15 23:57:07 2010 +0200 @@ -23,7 +23,7 @@ local dataIn = {}; dataIn.to = stanza.attr.to; dataIn.from = stanza.attr.from; - dataIn.action = stanza.tags[1].attr.action or nil; + dataIn.action = stanza.tags[1].attr.action or "execute"; dataIn.form = stanza.tags[1]:child_with_ns("jabber:x:data"); local data, state = command:handler(dataIn, states[sessionid]);