diff --git a/dub.json b/dub.json index 360c962..fb4d631 100644 --- a/dub.json +++ b/dub.json @@ -4,7 +4,7 @@ ], "copyright": "Copyright © 2020, Tristan B. Kildaire", "dependencies": { - "libdnet": "~>0.0.2", + "libdnet": "~>0.0.3", "tristanable": "~>0.0.33" }, "description": "dnet client", diff --git a/dub.selections.json b/dub.selections.json index db7961a..166a299 100644 --- a/dub.selections.json +++ b/dub.selections.json @@ -2,7 +2,7 @@ "fileVersion": 1, "versions": { "bformat": "1.0.8", - "libdnet": "0.0.2", + "libdnet": "0.0.3", "tristanable": "0.0.33" } } diff --git a/source/app.d b/source/app.d index 4ed4e0b..6ca8b2a 100644 --- a/source/app.d +++ b/source/app.d @@ -161,7 +161,9 @@ void commandLine() writeln("Channels ("~to!(string)(channels.length)~" total)\n"); foreach(string channel; channels) { - writeln("\t"~channel); + write("\t"~channel~" ("); + ulong memberCount = dclient.getMemberCount(channel); + writeln(to!(string)(memberCount)~")"); } } /* If the command is `join` */