Fix slotpage not working

This commit is contained in:
jvyden 2022-08-12 21:35:56 -04:00
commit 4ebe8a4d31
No known key found for this signature in database
GPG key ID: 18BCF2BE0262B278

View file

@ -45,7 +45,7 @@ public class SlotPage : BaseLayout
} }
case PrivacyType.Game: case PrivacyType.Game:
{ {
if (slot.Creator != this.User) return this.NotFound(); if (this.User == null || slot.Creator != this.User) return this.NotFound();
break; break;
} }