1
0
Fork 0
mirror of https://github.com/FrankerFaceZ/FrankerFaceZ.git synced 2025-08-02 16:08:31 +00:00

missed error case

This commit is contained in:
Kane York 2016-05-21 11:38:48 -07:00
parent 613d13652f
commit 88b356177a
2 changed files with 7 additions and 2 deletions

View file

@ -137,6 +137,9 @@ func C2SHello(conn *websocket.Conn, client *ClientInfo, msg ClientMessage) (rmsg
} else if _, ok := ary[1].(bool); ok {
// opt out
client.ClientID = AnonymousClientID
} else {
err = ErrExpectedTwoStrings
return
}
uniqueUserChannel <- client.ClientID