remove superfluous protection
This commit is contained in:
parent
4b8e19375d
commit
f55accc462
|
@ -30,7 +30,7 @@ object Round extends LilaController with TheftPrevention {
|
|||
|
||||
def websocketPlayer(fullId: String, apiVersion: Int) = Socket[JsValue] { implicit ctx =>
|
||||
GameRepo pov fullId flatMap {
|
||||
_.filterNot(isTheft) ?? { pov =>
|
||||
_ ?? { pov =>
|
||||
(get("sri") |@| getInt("version")).tupled ?? {
|
||||
case (uid, version) => env.socketHandler.player(pov, version, uid, ~get("ran"), ctx.me, ctx.ip)
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue