diff options
-rw-r--r-- | listener.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/listener.lua b/listener.lua index 4dd0ab2..4574c77 100644 --- a/listener.lua +++ b/listener.lua @@ -30,7 +30,7 @@ function main() local msg = ws.receive() local parsed = assert(textutils.unserializeJSON(msg)) if parsed.msg then - print("got msg",parsed.msg:gsub("\n","")) + print("got msg",(parsed.msg:gsub("\n",""))) local words = splitw(parsed.msg) if words[1] ~= "RRP" then print("non-RRP message!") |