Changeset

4860:b66e73793cb7

adhoc.lib: Default actions to 'complete' (replacement for rev 52b6901cabb0)
author Kim Alvefur <zash@zash.se>
date Fri, 11 May 2012 21:41:47 +0100
parents 4859:54eb17126bd3
children 4861:2ee71fa500d6
files plugins/adhoc/adhoc.lib.lua
diffstat 1 files changed, 1 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/plugins/adhoc/adhoc.lib.lua	Fri May 11 21:35:08 2012 +0100
+++ b/plugins/adhoc/adhoc.lib.lua	Fri May 11 21:41:47 2012 +0100
@@ -48,6 +48,7 @@
 		return true;
 	else
 		cmdtag = command:cmdtag("executing", sessionid);
+		data.actions = data.actions or { "complete" };
 	end
 
 	for name, content in pairs(data) do