made copper actually add sent messages to the filter
This commit is contained in:
parent
7e42870c71
commit
a40d2dfc29
@ -28,6 +28,7 @@ spawn("copperd",function() print(pcall(function ()
|
|||||||
p.msg = ev[4]
|
p.msg = ev[4]
|
||||||
p.at = 0
|
p.at = 0
|
||||||
p.lt = 0
|
p.lt = 0
|
||||||
|
pt[cdlib.encode(0,net.id,p.nid,relib.encode(p)):sub(2)] = os.time()
|
||||||
ps[p.pid] = p
|
ps[p.pid] = p
|
||||||
elseif ev[1] == "modem_message" and ev[4] == net.np and ev[6] == "copper" then
|
elseif ev[1] == "modem_message" and ev[4] == net.np and ev[6] == "copper" then
|
||||||
local hops,src,dst,data = cdlib.decode(ev[7])
|
local hops,src,dst,data = cdlib.decode(ev[7])
|
||||||
|
Loading…
Reference in New Issue
Block a user