summaryrefslogtreecommitdiffstats
path: root/EssentialsGroupManager
diff options
context:
space:
mode:
authorElgarL <ElgarL@palmergames.com>2012-04-22 12:12:50 +0100
committerElgarL <ElgarL@palmergames.com>2012-04-22 12:12:50 +0100
commit06247732da564876d97de99aa706fd7e823c0df9 (patch)
tree16a34de9d793a8b258edd6f0dd256260417c722e /EssentialsGroupManager
parentfc7689354f3dea2614f248a1f82eb740b6a4fb9f (diff)
downloadEssentials-06247732da564876d97de99aa706fd7e823c0df9.tar
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.gz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.lz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.tar.xz
Essentials-06247732da564876d97de99aa706fd7e823c0df9.zip
Allow 'manucheckp' to notify when superperms reports false but it is
really negated.
Diffstat (limited to 'EssentialsGroupManager')
-rw-r--r--EssentialsGroupManager/src/Changelog.txt3
-rw-r--r--EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java2
2 files changed, 3 insertions, 2 deletions
diff --git a/EssentialsGroupManager/src/Changelog.txt b/EssentialsGroupManager/src/Changelog.txt
index c3ec8ccc1..4a3c232be 100644
--- a/EssentialsGroupManager/src/Changelog.txt
+++ b/EssentialsGroupManager/src/Changelog.txt
@@ -182,4 +182,5 @@ v 2.0:
- Finally remove all deprecated methods.
- Re-initialize the WorldsHolder on a reload, as un-registering and re-registering a new holder means all plugins have to check for the new service on every quiery.
- Prevent null perms getting past the GlobalGroups loader.
- - Fix forgetting sub groups on a manload. \ No newline at end of file
+ - Fix forgetting sub groups on a manload.
+ - Allow 'manucheckp' to notify when superperms reports false but it is really negated. \ No newline at end of file
diff --git a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
index 0571db4b6..5f357641a 100644
--- a/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
+++ b/EssentialsGroupManager/src/org/anjocaido/groupmanager/GroupManager.java
@@ -921,7 +921,7 @@ public class GroupManager extends JavaPlugin {
// superperms
if (targetPlayer != null) {
- sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]));
+ sender.sendMessage(ChatColor.YELLOW + "SuperPerms reports Node: " + targetPlayer.hasPermission(args[1]) + ((!targetPlayer.hasPermission(args[1]) && targetPlayer.isPermissionSet(args[1])) ? " (Negated)": ""));
}
return true;