1
0
mirror of https://github.com/deavminet/dnetd synced 2024-09-21 01:33:24 +02:00

Re-enabled broadcasts on leave/join

This commit is contained in:
Tristan B. Kildaire 2020-09-28 19:46:30 +02:00
parent b0f30acb5b
commit f1219170ec

View File

@ -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);
}
/**