mirror of
https://github.com/deavminet/dnetd
synced 2024-09-21 09:43:37 +02:00
Fixed toString
This commit is contained in:
parent
c55a9b9419
commit
41b84fa2a1
@ -10,6 +10,7 @@ module dnetd.dchannel;
|
|||||||
|
|
||||||
import dnetd.dconnection : DConnection;
|
import dnetd.dconnection : DConnection;
|
||||||
import core.sync.mutex : Mutex;
|
import core.sync.mutex : Mutex;
|
||||||
|
import std.conv : to;
|
||||||
|
|
||||||
public class DChannel
|
public class DChannel
|
||||||
{
|
{
|
||||||
@ -60,7 +61,7 @@ public class DChannel
|
|||||||
|
|
||||||
public override string toString()
|
public override string toString()
|
||||||
{
|
{
|
||||||
return "DChannel [Name: "~name~", Members: "~members~"]";
|
return "DChannel [Name: "~name~", Members: "~to!(string)(members)~"]";
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
Loading…
Reference in New Issue
Block a user