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:
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user