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:
parent
42c82251be
commit
26ac45358e
2 changed files with 6 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue