From 33ad92e98bea3d0a97c95728c8a22a213d954fcf Mon Sep 17 00:00:00 2001 From: Henri DF Date: Tue, 1 Mar 2016 22:01:45 -0800 Subject: [PATCH] Fix typo-bug in lua code --- userspace/digwatch/lua/rule_loader.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/userspace/digwatch/lua/rule_loader.lua b/userspace/digwatch/lua/rule_loader.lua index cc563b5e..262a61f9 100644 --- a/userspace/digwatch/lua/rule_loader.lua +++ b/userspace/digwatch/lua/rule_loader.lua @@ -140,7 +140,7 @@ end evt = nil function on_event(evt_, rule_id) if state.outputs[rule_id].type == "format" then - print(digwatch.format_event(evt, state.outputs[rule_id].formatter)) + print(digwatch.format_event(evt_, state.outputs[rule_id].formatter)) elseif state.outputs[rule_id].type == "function" then local reqmod = "local "..state.outputs[rule_id].mname.." = require('" ..state.outputs[rule_id].mname .. "')"; evt = evt_