Remove stale client purging. Use sockets to count clients. #323
This commit is contained in:
@@ -108,7 +108,7 @@ func (s *server) Listen() {
|
||||
// remove a client
|
||||
case c := <-s.delCh:
|
||||
delete(s.Clients, c.socketID)
|
||||
s.listener.ClientRemoved(c.ClientID)
|
||||
s.listener.ClientRemoved(c.socketID)
|
||||
|
||||
// message was recieved from a client and should be sanitized, validated
|
||||
// and distributed to other clients.
|
||||
|
||||
Reference in New Issue
Block a user