diff options
author | Dor Bivas <dor1_b@walla.com> | 2014-03-29 20:48:17 +0300 |
---|---|---|
committer | Dor Bivas <dor1_b@walla.com> | 2014-03-29 20:48:28 +0300 |
commit | f30a75c69f371ca8cf964181ae8e757d95419d1b (patch) | |
tree | 988c7ca91b07524039c0dca99ea2a071b4c5ca84 /src/Server/Client.java | |
parent | 3e6edd995e1e705f6470f77bfe07c914511e2f49 (diff) |
Server: nick collision in sensitive, connection msg sent after rely
connecting
Diffstat (limited to 'src/Server/Client.java')
-rw-r--r-- | src/Server/Client.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/Server/Client.java b/src/Server/Client.java index 35cfefc..04a9514 100644 --- a/src/Server/Client.java +++ b/src/Server/Client.java @@ -32,6 +32,7 @@ public class Client /** set nick name if it does not exist. */ public boolean setNick(String newNick) { + newNick = newNick.toLowerCase(); if (!ChatServer.server.addNick(newNick)) { return false; |