Browse Source

Merge branch 'server'

cam
Thomas Johnson 2 years ago
parent
commit
f6999d1e74
  1. 3
      server/SingleServer.java

3
server/SingleServer.java

@ -203,13 +203,14 @@ class ClientHandler implements ProtoHandler
{
synchronized(fellows)
{
String old_username = this.username;
this.username = null;
for (ClientHandler fellow : fellows)
{
if (fellow != this && fellow.username != null)
try
{
fellow.out.sendPart(username);
fellow.out.sendPart(old_username);
} catch (IOException e)
{
}

Loading…
Cancel
Save