mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-03 16:38:31 +00:00
lol guess i missed one
This commit is contained in:
parent
3c3791579f
commit
cf238bf650
1 changed files with 3 additions and 3 deletions
|
@ -19,9 +19,9 @@ func commandLineConsole() {
|
||||||
})
|
})
|
||||||
|
|
||||||
shell.Register("clientcount", func(args ...string) (string, error) {
|
shell.Register("clientcount", func(args ...string) (string, error) {
|
||||||
server.GlobalSubscriptionInfo.RLock()
|
server.GlobalSubscriptionLock.RLock()
|
||||||
count := len(server.GlobalSubscriptionInfo.Members)
|
count := len(server.GlobalSubscriptionInfo)
|
||||||
server.GlobalSubscriptionInfo.RUnlock()
|
server.GlobalSubscriptionLock.RUnlock()
|
||||||
return fmt.Sprintln(count, "clients connected"), nil
|
return fmt.Sprintln(count, "clients connected"), nil
|
||||||
})
|
})
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue