1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-06-28 15:27:43 +00:00

fix compile

This commit is contained in:
Kane York 2017-09-15 12:28:01 -07:00
parent 6a2267cb97
commit 413f62f56b
2 changed files with 1 additions and 2 deletions

View file

@ -435,7 +435,7 @@ func C2SHandleBunchedCommand(conn *websocket.Conn, client *ClientInfo, msg Clien
key := fmt.Sprintf("%s:%s", msg.Command, msg.origArguments) key := fmt.Sprintf("%s:%s", msg.Command, msg.origArguments)
resultCh := bunchGroup.DoChan(key, func() (interface{}, error) { resultCh := bunchGroup.DoChan(key, func() (interface{}, error) {
return Backend.SendRemoteCommandCached(msg.Command, msg.origArguments, AuthInfo{}) return Backend.SendRemoteCommandCached(string(msg.Command), msg.origArguments, AuthInfo{})
}) })
client.MsgChannelKeepalive.Add(1) client.MsgChannelKeepalive.Add(1)

View file

@ -133,7 +133,6 @@ func startJanitors() {
go authorizationJanitor() go authorizationJanitor()
go aggregateDataSender() go aggregateDataSender()
go bunchCacheJanitor()
go cachedMessageJanitor() go cachedMessageJanitor()
go commandCounter() go commandCounter()
go pubsubJanitor() go pubsubJanitor()