Skip to content

Commit

Permalink
Merge branch 'master' into master
Browse files Browse the repository at this point in the history
  • Loading branch information
Licho1 authored Jul 24, 2024
2 parents 6a50620 + 6d19c32 commit 42a34f1
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
2 changes: 1 addition & 1 deletion ChobbyLauncher/ChobbyLauncher.csproj
Original file line number Diff line number Diff line change
Expand Up @@ -163,7 +163,7 @@
<PackageReference Include="NeoLua" Version="1.3.14" />
<PackageReference Include="Newtonsoft.Json" Version="10.0.2" />
<PackageReference Include="NLog" Version="4.7.15" />
<PackageReference Include="Octokit" Version="10.0.0" />
<PackageReference Include="Octokit" Version="13.0.0" />
</ItemGroup>
<Import Project="$(MSBuildToolsPath)\Microsoft.CSharp.targets" />
<Target Name="BeforeBuild">
Expand Down
3 changes: 3 additions & 0 deletions ZkLobbyServer/ZkLobbyServer.cs
Original file line number Diff line number Diff line change
Expand Up @@ -212,6 +212,9 @@ public bool CanUserSee(ConnectedUser uWatcher, ConnectedUser uWatched)
// admins always visible
if (uWatched.User?.IsAdmin == true) return true;

// admins see everybody
if (uWatcher.User?.IsAdmin == true) return true;

// friends see each other
if (uWatcher.FriendNames.Contains(uWatched.Name)) return true;

Expand Down

0 comments on commit 42a34f1

Please sign in to comment.