Do not return -1 in case of freePremium, makes things harder

This commit is contained in:
slawkens
2025-05-14 09:18:55 +02:00
parent 5367df2381
commit 3befde2a1e
2 changed files with 0 additions and 6 deletions

View File

@@ -43,9 +43,6 @@ class Account extends Model {
return 0;
}
global $config;
if(isset($config['lua']['freePremium']) && getBoolean($config['lua']['freePremium'])) return -1;
if($this->premdays == 65535){
return 65535;
}