Fixed issue with hasPermission returning false wrongly

This commit is contained in:
Nathan Adams
2011-11-02 22:48:07 +00:00
parent 47d652c7b7
commit fa9a2e158b

View File

@@ -76,7 +76,7 @@ public class PermissibleBase implements Permissible {
if (perm != null) { if (perm != null) {
return perm.getDefault().getValue(isOp()); return perm.getDefault().getValue(isOp());
} else { } else {
return false; return Permission.DEFAULT_PERMISSION.getValue(isOp());
} }
} }
} }