1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-09-15 17:46:55 +00:00

change global sub to ClientInfo, remove ip output

This commit is contained in:
Kane York 2015-11-18 09:07:34 -08:00
parent 3802dea35c
commit 00175cad39
4 changed files with 57 additions and 18 deletions

View file

@ -119,9 +119,9 @@ func updatePeriodicStats() {
Statistics.PubSubChannelCount = len(ChatSubscriptionInfo)
ChatSubscriptionLock.RUnlock()
GlobalSubscriptionInfo.RLock()
Statistics.CurrentClientCount = uint64(len(GlobalSubscriptionInfo.Members))
GlobalSubscriptionInfo.RUnlock()
GlobalSubscriptionLock.RLock()
Statistics.CurrentClientCount = uint64(len(GlobalSubscriptionInfo))
GlobalSubscriptionLock.RUnlock()
}
{