diff options
author | ElgarL <ElgarL@palmergames.com> | 2012-07-10 14:35:08 +0100 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2012-07-10 14:35:08 +0100 |
commit | 2235364711d11332f939a65a69c3908c3e044a90 (patch) | |
tree | 5af3981357cf8b8f91fe7d90970d334e91703a1d | |
parent | dfaa1db76f969efdc8897cb5709982250815bdaa (diff) | |
download | Essentials-2235364711d11332f939a65a69c3908c3e044a90.tar Essentials-2235364711d11332f939a65a69c3908c3e044a90.tar.gz Essentials-2235364711d11332f939a65a69c3908c3e044a90.tar.lz Essentials-2235364711d11332f939a65a69c3908c3e044a90.tar.xz Essentials-2235364711d11332f939a65a69c3908c3e044a90.zip |
If a permission is found return the correct node for mangcheckp (not
null).
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java index efad11df4..e954a88fd 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java @@ -920,6 +920,7 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface { Group now = stack.pop(); PermissionCheckResult resultNow = checkGroupOnlyPermission(now, targetPermission); if (!resultNow.resultType.equals(PermissionCheckResult.Type.NOTFOUND)) { + resultNow.accessLevel = targetPermission; return resultNow; } for (String sonName : now.getInherits()) { |