made copper actually add sent messages to the filter

This commit is contained in:
Izaya 2017-09-01 09:10:18 +10:00
parent 7e42870c71
commit a40d2dfc29

View File

@ -28,6 +28,7 @@ spawn("copperd",function() print(pcall(function ()
p.msg = ev[4]
p.at = 0
p.lt = 0
pt[cdlib.encode(0,net.id,p.nid,relib.encode(p)):sub(2)] = os.time()
ps[p.pid] = p
elseif ev[1] == "modem_message" and ev[4] == net.np and ev[6] == "copper" then
local hops,src,dst,data = cdlib.decode(ev[7])