From 0891ebbe8e4831fa2c979f2044a9340bca76b23f Mon Sep 17 00:00:00 2001 From: xdrm-brackets Date: Sat, 5 May 2018 17:38:55 +0200 Subject: [PATCH] removed useless --- ws/server.go | 1 - 1 file changed, 1 deletion(-) diff --git a/ws/server.go b/ws/server.go index c44a796..6ab5666 100644 --- a/ws/server.go +++ b/ws/server.go @@ -158,7 +158,6 @@ func (s *Server) scheduler(){ case client := <- s.ch.unregister: // fmt.Printf(" - client\n") - s.clients[client.io.sock] = nil delete(s.clients, client.io.sock) /* (3) Broadcast */