From f26df001c5798b8ece458abcf72a5233ffce4191 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 6 May 2018 08:17:05 +0100 Subject: [PATCH] Add more sanity checks --- server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.lua b/server.lua index 76886d6..8a44554 100644 --- a/server.lua +++ b/server.lua @@ -138,7 +138,7 @@ function processRequests() local ok, r = pcall(processRequest, msg) if not ok then r = "ERROR" end - r.uid = msg.uid + if r then r.uid = msg.uid end rednet.send(id, r, "dragon") end