summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authormd_5 <md_5@bigpond.com>2012-09-21 19:53:20 +1000
committermd_5 <md_5@bigpond.com>2012-09-21 19:53:20 +1000
commit3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7 (patch)
tree16d481978953296ccc66273b3d5db8ef4395aeb4
parent84afc80873054d78e0889203e8156047a8590925 (diff)
downloadEssentials-3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7.tar
Essentials-3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7.tar.gz
Essentials-3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7.tar.lz
Essentials-3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7.tar.xz
Essentials-3e80bf479e7f311dfa31bd8d00b0cf7564cad3a7.zip
Check for explicit * permission when using PEX.
-rw-r--r--Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java2
1 files changed, 1 insertions, 1 deletions
diff --git a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
index 68dc3fe50..565342e98 100644
--- a/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
+++ b/Essentials/src/com/earth2me/essentials/perm/PermissionsExHandler.java
@@ -66,7 +66,7 @@ public class PermissionsExHandler extends SuperpermsHandler
@Override
public boolean hasPermission(final Player base, final String node)
{
- return super.hasPermission(base, node);
+ return base.hasPermission("*") || super.hasPermission(base, node);
}
@Override