Made it so users that are in the whitelist do not have a request limit

This commit is contained in:
tidusjar 2016-06-28 14:09:02 +01:00
parent 0c3825905f
commit 7956f9f7ff
2 changed files with 4 additions and 1 deletions

View file

@ -880,6 +880,9 @@ namespace PlexRequests.UI.Modules
if (IsAdmin)
return true;
if (s.ApprovalWhiteList.Contains(Username))
return true;
var requestLimit = GetRequestLimitForType(type, s);
if (requestLimit == 0)
{