From cd6a4fc08da7858fbcfbec4127a5c06c5d3c5788 Mon Sep 17 00:00:00 2001 From: osmarks Date: Sun, 6 May 2018 08:17:17 +0100 Subject: [PATCH] Improve them --- server.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/server.lua b/server.lua index 8a44554..08d4acf 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 - if r then r.uid = msg.uid end + if ok and r then r.uid = msg.uid end rednet.send(id, r, "dragon") end