diff options
author | Dor Bivas <dor1_b@walla.com> | 2014-03-29 15:46:03 +0300 |
---|---|---|
committer | Dor Bivas <dor1_b@walla.com> | 2014-03-29 15:49:49 +0300 |
commit | e8544ffd7d4d2985028be9fd3fac68ff7d7f014b (patch) | |
tree | d448e727a2aec18a6e1cd69f78e64d7ee9909533 /src/Server/Connection.java | |
parent | 4b64e500799da46fc406c3d0217eb89afc8e07b1 (diff) |
Server - implement nick collision detection
* Client: setNick checks for collisions.
* Command table: Nick Command is now replaying.
* Connection: remove up on disconnect.
Diffstat (limited to 'src/Server/Connection.java')
-rw-r--r-- | src/Server/Connection.java | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Server/Connection.java b/src/Server/Connection.java index 1102523..bcc3ac7 100644 --- a/src/Server/Connection.java +++ b/src/Server/Connection.java @@ -59,7 +59,7 @@ public class Connection extends Thread { ChatServer.server.connectionRemove(this); - + ChatServer.server.removeNick(client.getNick()); try { if (!soc.isClosed()) |