small fix
This commit is contained in:
parent
a7a84952fe
commit
a9619bc08c
@ -540,7 +540,7 @@ public abstract class PermissionObject {
|
|||||||
// Could be here if the server was set to global.
|
// Could be here if the server was set to global.
|
||||||
String n = node.getKey();
|
String n = node.getKey();
|
||||||
if (n.contains("/")) {
|
if (n.contains("/")) {
|
||||||
n = Patterns.SERVER_SPLIT.split(n, 2)[0];
|
n = Patterns.SERVER_SPLIT.split(n, 2)[1];
|
||||||
}
|
}
|
||||||
|
|
||||||
if (Patterns.GROUP_MATCH.matcher(n).matches()) {
|
if (Patterns.GROUP_MATCH.matcher(n).matches()) {
|
||||||
@ -571,7 +571,6 @@ public abstract class PermissionObject {
|
|||||||
// Add the actual group perm node, so other plugins can hook
|
// Add the actual group perm node, so other plugins can hook
|
||||||
perms.put(groupNode.getKey(), groupNode.getValue());
|
perms.put(groupNode.getKey(), groupNode.getValue());
|
||||||
|
|
||||||
|
|
||||||
// Don't add negated groups
|
// Don't add negated groups
|
||||||
if (!groupNode.getValue()) continue;
|
if (!groupNode.getValue()) continue;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user