diff options
author | Kim Alvefur <zash@zash.se> | 2012-05-11 21:41:47 +0100 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2012-05-11 21:41:47 +0100 |
commit | 92df51a04627ce1d6eb9d61b257d6c5af047d93e (patch) | |
tree | 0611067ceefca00aad8f1a31c4c707f8d6498ee7 /plugins | |
parent | c28bdf985351a3dc12bb50e9286b01238720cdfa (diff) | |
download | prosody-92df51a04627ce1d6eb9d61b257d6c5af047d93e.tar.gz prosody-92df51a04627ce1d6eb9d61b257d6c5af047d93e.zip |
adhoc.lib: Default actions to 'complete' (replacement for rev 52b6901cabb0)
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/adhoc/adhoc.lib.lua | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/plugins/adhoc/adhoc.lib.lua b/plugins/adhoc/adhoc.lib.lua index 0cb4efe1..eff3caff 100644 --- a/plugins/adhoc/adhoc.lib.lua +++ b/plugins/adhoc/adhoc.lib.lua @@ -48,6 +48,7 @@ function _M.handle_cmd(command, origin, stanza) return true; else cmdtag = command:cmdtag("executing", sessionid); + data.actions = data.actions or { "complete" }; end for name, content in pairs(data) do |