1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-27 21:05:53 +00:00

Add unique client counting

This commit is contained in:
Kane York 2015-12-23 21:57:33 -08:00
parent 89ff64f52c
commit 81c477cd6b
7 changed files with 374 additions and 1 deletions

View file

@ -103,6 +103,8 @@ func C2SHello(conn *websocket.Conn, client *ClientInfo, msg ClientMessage) (rmsg
client.ClientID = uuid.NewV4()
}
uniqueUserChannel <- client.ClientID
SubscribeGlobal(client)
SubscribeDefaults(client)