mirror of
https://github.com/FrankerFaceZ/FrankerFaceZ.git
synced 2025-09-16 01:56:55 +00:00
Fix failure-to-hello check
This commit is contained in:
parent
26ac45358e
commit
f31a93f790
2 changed files with 4 additions and 5 deletions
|
@ -430,7 +430,7 @@ func runSocketWriter(conn *websocket.Conn, client *ClientInfo, errorChan <-chan
|
|||
}
|
||||
|
||||
case msg := <-clientChan:
|
||||
if client.VersionString == "" && msg.Command != HelloCommand {
|
||||
if !client.HelloOK && msg.Command != HelloCommand {
|
||||
return CloseFirstMessageNotHello
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue