improve paid torrent + hit and run

This commit is contained in:
xiaomlove
2025-06-17 20:54:18 +07:00
parent ee4757cdc9
commit 3db4537153
21 changed files with 326 additions and 70 deletions
-2
View File
@@ -1191,8 +1191,6 @@ function clear_agent_allow_deny_cache()
\Nexus\Database\NexusDB::cache_del($denyCacheKey . $suffix);
}
}
function user_can($permission, $fail = false, $uid = 0): bool
{
$log = "permission: $permission, fail: $fail, user: $uid";