1
0
mirror of https://github.com/kepler155c/opus synced 2025-10-25 04:37:40 +00:00

rttp initial version -- insecure

This commit is contained in:
kepler155c@gmail.com
2018-03-30 13:12:46 -04:00
parent a17677730f
commit 3dd351cc86
8 changed files with 272 additions and 4 deletions

View File

@@ -74,7 +74,7 @@ Event.on('timer', function(_, timerId)
end)
Event.on('modem_message', function(_, _, dport, dhost, msg, distance)
if dhost == computerId and msg then
if dhost == computerId and type(msg) == 'table' then
local socket = transport.sockets[dport]
if socket and socket.connected then