Made it so the request limit doesn't apply to admin users

pull/383/head
tidusjar 8 years ago
parent 52fd1c7844
commit 0c3825905f

@ -877,6 +877,9 @@ namespace PlexRequests.UI.Modules
private async Task<bool> CheckRequestLimit(PlexRequestSettings s, RequestType type) private async Task<bool> CheckRequestLimit(PlexRequestSettings s, RequestType type)
{ {
if (IsAdmin)
return true;
var requestLimit = GetRequestLimitForType(type, s); var requestLimit = GetRequestLimitForType(type, s);
if (requestLimit == 0) if (requestLimit == 0)
{ {

Loading…
Cancel
Save