aboutsummaryrefslogtreecommitdiffstats
path: root/plugins/adhoc
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2012-05-11 21:41:47 +0100
committerKim Alvefur <zash@zash.se>2012-05-11 21:41:47 +0100
commit1832103b7484adf503ec196cb304483c77d4c307 (patch)
tree0611067ceefca00aad8f1a31c4c707f8d6498ee7 /plugins/adhoc
parent5227a94ea822c9a4a9e60cd9a28278311494f5bd (diff)
downloadprosody-1832103b7484adf503ec196cb304483c77d4c307.tar.gz
prosody-1832103b7484adf503ec196cb304483c77d4c307.zip
adhoc.lib: Default actions to 'complete' (replacement for rev 52b6901cabb0)
Diffstat (limited to 'plugins/adhoc')
-rw-r--r--plugins/adhoc/adhoc.lib.lua1
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