mirror of
https://github.com/Grasscutters/Grasscutter.git
synced 2025-03-14 16:02:04 +08:00
remove log
This commit is contained in:
parent
c0d79aa75b
commit
f2e9845421
@ -150,12 +150,7 @@ public class Account {
|
||||
|
||||
String[] permissionParts = permission.split("\\.");
|
||||
for (String p : this.permissions) {
|
||||
|
||||
if (p.startsWith("-") && permissionMatchesWildcard(p.substring(1), permissionParts)) {
|
||||
Grasscutter.getLogger().info("Permission " + permission + " denied to " + this.username);
|
||||
return false;
|
||||
}
|
||||
|
||||
if (p.startsWith("-") && permissionMatchesWildcard(p.substring(1), permissionParts)) return false;
|
||||
if (permissionMatchesWildcard(p, permissionParts)) return true;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user