made the copper packet IDs only use printable characters
This commit is contained in:
parent
10615bfecb
commit
c3acea92d0
@ -38,7 +38,7 @@ spawn("copperd",function() print(xpcall(function ()
|
|||||||
end
|
end
|
||||||
elseif ev[1] == "sendmsg" then
|
elseif ev[1] == "sendmsg" then
|
||||||
local p = {}
|
local p = {}
|
||||||
p.pid = string.char(math.random(255),math.random(255),math.random(255))
|
p.pid = string.char(math.random(32,126),math.random(32,126),math.random(32,126))
|
||||||
p.nid = ev[2]
|
p.nid = ev[2]
|
||||||
p.port = ev[3]
|
p.port = ev[3]
|
||||||
p.msg = ev[4]
|
p.msg = ev[4]
|
||||||
|
Loading…
Reference in New Issue
Block a user