Add more sanity checks

This commit is contained in:
osmarks 2018-05-06 08:17:05 +01:00
parent ab3bc38d4c
commit f26df001c5

View File

@ -138,7 +138,7 @@ function processRequests()
local ok, r = pcall(processRequest, msg) local ok, r = pcall(processRequest, msg)
if not ok then r = "ERROR" end if not ok then r = "ERROR" end
r.uid = msg.uid if r then r.uid = msg.uid end
rednet.send(id, r, "dragon") rednet.send(id, r, "dragon")
end end