1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-11 00:20:54 +00:00

maybe the helper function is wrong

This commit is contained in:
Kane York 2015-11-03 17:57:35 -08:00
parent 7b095542fc
commit 64cc80c79a

View file

@ -454,8 +454,8 @@ func HandleRemoteCommand(conn *websocket.Conn, client *ClientInfo, msg ClientMes
if err != nil {
client.MessageChannel <- ClientMessage{MessageID: msg.MessageID, Command: ErrorCommand, Arguments: err.Error()}
} else {
msg := SuccessMessageFromString(resp)
msg.MessageID = msg.MessageID
msg := ClientMessage{MessageID: msg.MessageID, Command: SuccessCommand, origArguments: resp}
msg.parseOrigArguments()
client.MessageChannel <- msg
}
client.MsgChannelKeepalive.Done()