1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 17:53:39 +02:00

Passed DServer object in

This commit is contained in:
Tristan B. Kildaire 2021-01-29 15:04:08 +02:00
parent d8f66aa271
commit a75afc5528
2 changed files with 2 additions and 2 deletions

View File

@ -166,7 +166,7 @@ public final class DLinkConfig
ushort port = to!(ushort)(peerBlock["port"].str());
/* Add the address and port tuple to the list of addresses to bind to */
dlinkConfig.links ~= new DLink(server, name, parseAddress(address, port));
dlinkConfig.links ~= new DLink(dserver, name, parseAddress(address, port));
}
return dlinkConfig;

View File

@ -62,7 +62,7 @@ public final class DLink : Thread
{
/* Set the worker thread for outbound connections */
super(&outboundWorker);
/* Create an outbound connection */
/* TODO: Fuuuuuuuuuuuuuuuuuuuck handling of shit here bababooey and not in dconnection.d as we would have done below */