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 | 1eac05799fbe323d972dcd38b98c3a79ab222ef9 (patch) | |
tree | 2c86845baa7fc55e0e406729e7ad275122a6fd94 /EssentialsGroupManager/src/org | |
parent | 8fac5f6beb0bd6efb4881857222aaff263a75fca (diff) | |
download | Essentials-1eac05799fbe323d972dcd38b98c3a79ab222ef9.tar Essentials-1eac05799fbe323d972dcd38b98c3a79ab222ef9.tar.gz Essentials-1eac05799fbe323d972dcd38b98c3a79ab222ef9.tar.lz Essentials-1eac05799fbe323d972dcd38b98c3a79ab222ef9.tar.xz Essentials-1eac05799fbe323d972dcd38b98c3a79ab222ef9.zip |
If a permission is found return the correct node for mangcheckp (not
null).
Diffstat (limited to 'EssentialsGroupManager/src/org')
-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()) { |