default to 0% round remove socket
parent
469c5c948d
commit
093b27dd13
|
@ -151,8 +151,8 @@ final class Env(
|
||||||
|
|
||||||
import lila.memo.SettingStore.Regex._
|
import lila.memo.SettingStore.Regex._
|
||||||
lazy val remoteSocketSetting = settingStore[scala.util.matching.Regex](
|
lazy val remoteSocketSetting = settingStore[scala.util.matching.Regex](
|
||||||
"roundRemoteSocket2",
|
"roundRemoteSocket3",
|
||||||
default = "[0-9a-u].+".r,
|
default = "".r,
|
||||||
text = "Remote socket game ID regex".some
|
text = "Remote socket game ID regex".some
|
||||||
)
|
)
|
||||||
def useRemoteSocket(gameId: Game.ID) = remoteSocketSetting.get().matches(gameId)
|
def useRemoteSocket(gameId: Game.ID) = remoteSocketSetting.get().matches(gameId)
|
||||||
|
|
Loading…
Reference in New Issue