From 41b84fa2a186ca2d4eee3e1b3e1953c12b0e947e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Tristan=20=F0=9F=85=B1=2E=20Kildaire?= <21629986@sun.ac.za> Date: Wed, 23 Sep 2020 19:39:16 +0200 Subject: [PATCH] Fixed toString --- source/dnetd/dchannel.d | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/source/dnetd/dchannel.d b/source/dnetd/dchannel.d index a78f639..0252ce6 100644 --- a/source/dnetd/dchannel.d +++ b/source/dnetd/dchannel.d @@ -10,6 +10,7 @@ module dnetd.dchannel; import dnetd.dconnection : DConnection; import core.sync.mutex : Mutex; +import std.conv : to; public class DChannel { @@ -60,7 +61,7 @@ public class DChannel public override string toString() { - return "DChannel [Name: "~name~", Members: "~members~"]"; + return "DChannel [Name: "~name~", Members: "~to!(string)(members)~"]"; } } \ No newline at end of file