mirror of https://github.com/deavminet/dnetd.git
Re-enabled broadcasts on leave/join
This commit is contained in:
parent
b0f30acb5b
commit
f1219170ec
|
@ -46,7 +46,7 @@ public class DChannel
|
||||||
public bool join(DConnection client)
|
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) */
|
/* 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 */
|
/* Lock the members list */
|
||||||
writeln("join: mutex lock (about to call)");
|
writeln("join: mutex lock (about to call)");
|
||||||
|
@ -159,7 +159,7 @@ public class DChannel
|
||||||
memberLock.unlock();
|
memberLock.unlock();
|
||||||
|
|
||||||
/* Send broadcast leave message */
|
/* Send broadcast leave message */
|
||||||
//broadcastLeave(client);
|
broadcastLeave(client);
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
|
Loading…
Reference in New Issue