diff --git a/lib/teiserver/coordinator/consul_server.ex b/lib/teiserver/coordinator/consul_server.ex index 75d5eca7c..1ade688d4 100644 --- a/lib/teiserver/coordinator/consul_server.ex +++ b/lib/teiserver/coordinator/consul_server.ex @@ -1001,7 +1001,7 @@ defmodule Teiserver.Coordinator.ConsulServer do state.gatekeeper == "friends" -> if is_on_friendlist?(userid, state, :all) do - {true, nil} + {true, :allow_friends} else {false, "Friends only gatekeeper"} end diff --git a/lib/teiserver/lobby.ex b/lib/teiserver/lobby.ex index 000d8470e..4b72d3e3e 100644 --- a/lib/teiserver/lobby.ex +++ b/lib/teiserver/lobby.ex @@ -565,7 +565,7 @@ defmodule Teiserver.Lobby do Enum.any?([ CacheUser.is_moderator?(user), Enum.member?(user.roles, "Caster"), - consul_reason == :override_approve + consul_reason in [:override_approve, :allow_friends] ]) ignore_locked =