summaryrefslogtreecommitdiff
path: root/listener.lua
diff options
context:
space:
mode:
authorubq323 <ubq323@ubq323.website>2024-04-01 02:19:23 +0100
committerubq323 <ubq323@ubq323.website>2024-04-01 02:19:23 +0100
commit2273fe028dda59f4779267e19e892770f0608ce2 (patch)
treea0b810fe0dbc92774771ce3f2f75497b03cca9bb /listener.lua
parentc9f2c0e3a10d18df7d7b664a51d20ff8e38cba3e (diff)
launch ./beeite
Diffstat (limited to 'listener.lua')
-rw-r--r--listener.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/listener.lua b/listener.lua
index e69205e..f6e32a5 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)
+ print("got msg",parsed.msg:gsub("\n","")
local words = splitw(parsed.msg)
if words[1] ~= "RRP" then
print("non-RRP message!")