mirror of
https://github.com/LBPUnion/ProjectLighthouse.git
synced 2025-05-21 16:52:27 +00:00
Fix mods not being able to view hidden levels
This commit is contained in:
parent
e57c8e3013
commit
4be8efc244
1 changed files with 1 additions and 1 deletions
|
@ -54,7 +54,7 @@ public class SlotPage : BaseLayout
|
|||
}
|
||||
}
|
||||
|
||||
if (slot.Hidden || slot.SubLevel && (this.User == null && this.User != slot.Creator || !(this.User?.IsModerator ?? false)))
|
||||
if ((slot.Hidden || slot.SubLevel && (this.User == null && this.User != slot.Creator)) && !(this.User?.IsModerator ?? false))
|
||||
return this.NotFound();
|
||||
|
||||
this.Slot = slot;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue