Fix forcewhitelabel

This commit is contained in:
rxdn 2021-02-05 22:41:36 +00:00
parent 5da597d410
commit bdea08d078

View File

@ -15,7 +15,7 @@ func VerifyWhitelabel(isApi bool) func(ctx *gin.Context) {
if rpc.PremiumClient.GetTierByUser(userId, false) < premium.Whitelabel { if rpc.PremiumClient.GetTierByUser(userId, false) < premium.Whitelabel {
var isForced bool var isForced bool
for _, id := range config.Conf.Admins { for _, id := range config.Conf.ForceWhitelabel {
if id == userId { if id == userId {
isForced = true isForced = true
break break