1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-31 10:20:55 +00:00

Separate CurrentClientCount and global subs

This commit is contained in:
Kane York 2017-09-15 13:07:41 -07:00
parent 42c82251be
commit 26ac45358e
2 changed files with 6 additions and 2 deletions

View file

@ -89,6 +89,9 @@ type ClientInfo struct {
Version ClientVersion
// Set after a successful hello message.
HelloOK bool
// This mutex protects writable data in this struct.
// If it seems to be a performance problem, we can split this.
Mutex sync.Mutex