Skip to content
Snippets Groups Projects
Commit 6a43e16a authored by deuce's avatar deuce
Browse files

Add all our fidonet addresses to the seen by list when forwarding TIC files.

parent 11477262
No related branches found
No related tags found
No related merge requests found
/* /*
* An intentionally simple TIC handler for Synchronet. * An intentionally simple TIC handler for Synchronet.
* $Id$
* *
* How to set up... add a timed event: * How to set up... add a timed event:
* Internal Code TICKIT * Internal Code TICKIT
...@@ -190,6 +191,11 @@ function forward_tic(tic) ...@@ -190,6 +191,11 @@ function forward_tic(tic)
for (i=0; i<tic.seenby.length; i++) for (i=0; i<tic.seenby.length; i++)
seenbys[tic.seenby[i]]=''; seenbys[tic.seenby[i]]='';
// Add all our addresses...
system.fido_addr_list.forEach(function(addr) {
seenbys[addr]='';
});
// Calculate links // Calculate links
if (tickit.gcfg.links !== undefined) if (tickit.gcfg.links !== undefined)
add_links(seenbys, links, tickit.gcfg.links); add_links(seenbys, links, tickit.gcfg.links);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment