Add more sanity checks
This commit is contained in:
parent
ab3bc38d4c
commit
f26df001c5
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user