mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-08-13 09:30:53 +00:00
maybe the helper function is wrong
This commit is contained in:
parent
7b095542fc
commit
64cc80c79a
1 changed files with 2 additions and 2 deletions
|
@ -454,8 +454,8 @@ 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 {
|
||||||
msg := SuccessMessageFromString(resp)
|
msg := ClientMessage{MessageID: msg.MessageID, Command: SuccessCommand, origArguments: resp}
|
||||||
msg.MessageID = msg.MessageID
|
msg.parseOrigArguments()
|
||||||
client.MessageChannel <- msg
|
client.MessageChannel <- msg
|
||||||
}
|
}
|
||||||
client.MsgChannelKeepalive.Done()
|
client.MsgChannelKeepalive.Done()
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue