diff options
author | ElgarL <ElgarL@palmergames.com> | 2013-01-29 16:14:24 +0000 |
---|---|---|
committer | ElgarL <ElgarL@palmergames.com> | 2013-01-29 16:14:24 +0000 |
commit | 9e4493fbb42b044f74d4ca08dec880fb63522593 (patch) | |
tree | 2a3be6f62fa19fcff7a5d6a0ea137bd96295f699 /EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions | |
parent | faad91849d6e244c4a95b5288a778f67af8831c7 (diff) | |
download | Essentials-9e4493fbb42b044f74d4ca08dec880fb63522593.tar Essentials-9e4493fbb42b044f74d4ca08dec880fb63522593.tar.gz Essentials-9e4493fbb42b044f74d4ca08dec880fb63522593.tar.lz Essentials-9e4493fbb42b044f74d4ca08dec880fb63522593.tar.xz Essentials-9e4493fbb42b044f74d4ca08dec880fb63522593.zip |
Prevent '*' permissions granting the 'groupmanager.noofflineperm'
permission.
Diffstat (limited to 'EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions')
-rw-r--r-- | EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java index 7396f3f70..a221c56a2 100644 --- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java +++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/permissions/AnjoPermissionsHandler.java @@ -172,6 +172,8 @@ public class AnjoPermissionsHandler extends PermissionsReaderInterface { permArray.addAll(GroupManager.BukkitPermissions.getAllRegisteredPermissions(includeChildren)); allPerms = true; perms.remove("*"); + // Remove the no offline perms node as this should not be given. + perms.remove("groupmanager.noofflineperms"); } for (String perm : perms) { |