diff --git a/modules/api/src/main/SocketTestResult.scala b/modules/api/src/main/SocketTestResult.scala index 84441d8bc4eb..566959abd5c1 100644 --- a/modules/api/src/main/SocketTestResult.scala +++ b/modules/api/src/main/SocketTestResult.scala @@ -12,7 +12,7 @@ final class SocketTestResult(resultsDb: lila.db.AsyncCollFailingSilently)(using object SocketTest: def isUserInTestBucket(net: NetConfig)(using ctx: Context) = - net.socketTest && ctx.pref.usingAltSocket.isEmpty && ctx.userId.exists(_.value.hashCode % 128 == 0) + ctx.pref.usingAltSocket.isEmpty && ctx.userId.exists(_.value.hashCode % 128 == 0) def socketEndpoints(net: NetConfig)(using ctx: Context): List[String] = ctx.pref.usingAltSocket.match