mirror of
https://github.com/pagefaultgames/rogueserver.git
synced 2025-02-23 09:01:29 +08:00
Add missing return
This commit is contained in:
parent
46f6127aac
commit
e4a9311fe4
@ -161,6 +161,7 @@ func handleSession(w http.ResponseWriter, r *http.Request) {
|
||||
|
||||
if slot < 0 || slot >= defs.SessionSlotCount {
|
||||
httpError(w, r, fmt.Errorf("slot id %d out of range", slot), http.StatusBadRequest)
|
||||
return
|
||||
}
|
||||
|
||||
if !r.URL.Query().Has("clientSessionId") {
|
||||
|
Loading…
x
Reference in New Issue
Block a user