mirror of
https://github.com/owntracks/recorder.git
synced 2026-08-27 16:57:21 +00:00
add init/exit
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user