dserver now uses `gprintln`

This commit is contained in:
Tristan B. Kildaire 2020-10-29 11:24:12 +02:00
parent 123f1ea8b8
commit 170511a934
1 changed files with 3 additions and 2 deletions

View File

@ -20,6 +20,7 @@ import std.stdio;
import std.conv : to;
import dnetd.dconfig;
import dnetd.dlink;
import gogga;
public class DServer : Thread
{
@ -169,7 +170,7 @@ public class DServer : Thread
/* Add to the connection queue */
connectionQueue ~= connection;
writeln("Added connection to queue "~to!(string)(connection));
gprintln("Added connection to queue "~to!(string)(connection));
/* Unlock the connections list */
connectionLock.unlock();
@ -195,7 +196,7 @@ public class DServer : Thread
/* Set this as the new queue */
connectionQueue = connectionQueueNew;
writeln("Removed connection from queue "~to!(string)(connection));
gprintln("Removed connection from queue "~to!(string)(connection));
/* Unlock the connections list */
connectionLock.unlock();