From 1832103b7484adf503ec196cb304483c77d4c307 Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 11 May 2012 21:41:47 +0100 Subject: adhoc.lib: Default actions to 'complete' (replacement for rev 52b6901cabb0) --- plugins/adhoc/adhoc.lib.lua | 1 + 1 file changed, 1 insertion(+) (limited to 'plugins/adhoc') 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 -- cgit v1.2.3