aboutsummaryrefslogtreecommitdiffstats
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
commit92df51a04627ce1d6eb9d61b257d6c5af047d93e (patch)
tree0611067ceefca00aad8f1a31c4c707f8d6498ee7
parentc28bdf985351a3dc12bb50e9286b01238720cdfa (diff)
downloadprosody-92df51a04627ce1d6eb9d61b257d6c5af047d93e.tar.gz
prosody-92df51a04627ce1d6eb9d61b257d6c5af047d93e.zip
adhoc.lib: Default actions to 'complete' (replacement for rev 52b6901cabb0)
-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