From f1219170ec7693df6a45330fabb984794fb00752 Mon Sep 17 00:00:00 2001 From: "Tristan B. Kildaire" Date: Mon, 28 Sep 2020 19:46:30 +0200 Subject: [PATCH] Re-enabled broadcasts on leave/join --- source/dnetd/dchannel.d | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/source/dnetd/dchannel.d b/source/dnetd/dchannel.d index bc40249..044e3a5 100644 --- a/source/dnetd/dchannel.d +++ b/source/dnetd/dchannel.d @@ -46,7 +46,7 @@ public class DChannel public bool join(DConnection client) { /* Send a message stating the user has joined (TODO: This should be done later, possibly, how defensive should we program) */ - //broadcastJoin(client); + broadcastJoin(client); /* Lock the members list */ writeln("join: mutex lock (about to call)"); @@ -159,7 +159,7 @@ public class DChannel memberLock.unlock(); /* Send broadcast leave message */ - //broadcastLeave(client); + broadcastLeave(client); } /**