1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-07-28 05:28:30 +00:00

These are replies, so they need the mid

This commit is contained in:
Kane York 2015-11-01 12:44:41 -08:00
parent 41e9a8f1f8
commit 7c89ed98e3

View file

@ -441,7 +441,9 @@ func HandleRemoteCommand(conn *websocket.Conn, client *ClientInfo, msg ClientMes
if err != nil { if err != nil {
client.MessageChannel <- ClientMessage{MessageID: msg.MessageID, Command: ErrorCommand, Arguments: err.Error()} client.MessageChannel <- ClientMessage{MessageID: msg.MessageID, Command: ErrorCommand, Arguments: err.Error()}
} else { } else {
client.MessageChannel <- SuccessMessageFromString(resp) msg := SuccessMessageFromString(resp)
msg.MessageID = msg.MessageID
client.MessageChannel <- msg
} }
} }
client.MsgChannelKeepalive.RUnlock() client.MsgChannelKeepalive.RUnlock()