diff --git a/src/main/java/ChatServer.java b/src/main/java/ChatServer.java index 68eafeb..92a4497 100644 --- a/src/main/java/ChatServer.java +++ b/src/main/java/ChatServer.java @@ -52,5 +52,9 @@ public class ChatServer { new ChatServer(3141); } + + public void removeClient(ClientHandler client) { + clients.remove(client); + } } \ No newline at end of file