diff --git a/source/dnetd/dconnection.d b/source/dnetd/dconnection.d index 25a38f8..d33fbed 100644 --- a/source/dnetd/dconnection.d +++ b/source/dnetd/dconnection.d @@ -211,6 +211,8 @@ public class DConnection : Thread /* Get the channel names */ string channelList = cast(string)message.data[1..message.data.length]; string[] channels = split(channelList, ","); + import std.stdio; + writeln("channelList length"~to!(string)(channelList.length)); /** * Loop through each channel, check if it diff --git a/source/dnetd/dserver.d b/source/dnetd/dserver.d index 940f168..3c7c138 100644 --- a/source/dnetd/dserver.d +++ b/source/dnetd/dserver.d @@ -16,6 +16,7 @@ import dnetd.dconnection; import dnetd.dchannel; import std.string : cmp; import core.sync.mutex : Mutex; +import std.stdio; public class DServer : Thread {