clarity: break->return

This commit is contained in:
fiatjaf 2023-12-09 00:14:08 -03:00
parent 5823515d27
commit c09d21b621
No known key found for this signature in database
GPG Key ID: BAD43C4BE5C1A3A1

View File

@ -96,7 +96,7 @@ func (rl *Relay) HandleWebsocket(w http.ResponseWriter, r *http.Request) {
) {
rl.Log.Printf("unexpected close error from %s: %v\n", r.Header.Get("X-Forwarded-For"), err)
}
break
return
}
if typ == websocket.PingMessage {