Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| bc2017e67d |
@@ -41,7 +41,7 @@ func NewHub() *Hub {
|
||||
Broadcast: make(chan []byte, 1),
|
||||
Register: make(chan *Client, 1),
|
||||
Unregister: make(chan *Client, 1),
|
||||
Clients: make(map[*Client]bool, 1),
|
||||
Clients: make(map[*Client]bool, 0),
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user