mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-02 16:08:31 +00:00
Fix a data race
This commit is contained in:
parent
717acb3e40
commit
405ad22372
3 changed files with 11 additions and 2 deletions
|
@ -50,8 +50,7 @@ func DispatchC2SCommand(conn *websocket.Conn, client *ClientInfo, msg ClientMess
|
|||
handler = C2SHandleRemoteCommand
|
||||
}
|
||||
|
||||
Statistics.CommandsIssuedTotal++
|
||||
Statistics.CommandsIssuedMap[msg.Command]++
|
||||
CommandCounter <- msg.Command
|
||||
|
||||
response, err := callHandler(handler, conn, client, msg)
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue