add init/exit

This commit is contained in:
Jan-Piet Mens
2018-12-03 19:06:53 +01:00
parent 68219a9ce8
commit 96d29a5372
+6
View File
@@ -5,6 +5,12 @@
JSON = (loadfile "/etc/ot-recorder/JSON.lua")()
function otr_init()
end
function otr_exit()
end
function otr_hook(topic, _type, data)
otr.log("DEBUG_PUB:" .. topic .. " " .. JSON:encode(data))
if(data['_http'] == true) then