hotfix permissions
This commit is contained in:
parent
22740f5903
commit
ebe0d67780
@ -441,7 +441,8 @@ public class PermissionManager implements UserDataProvider {
|
||||
permission.setAddon(permissionMapping.isAddon());
|
||||
permission.setStarts(permissionStarts);
|
||||
permission.setExpires(permissionsExpires);
|
||||
logger.debug("expires here: " + permission.getExpires());
|
||||
logger.debug("now: " + Instant.now() + "\nstart: " + permissionStarts + "\nexpires here: "
|
||||
+ permission.getExpires());
|
||||
} else {
|
||||
if (permission.getExpires() == null || permission.getExpires().isBefore(Instant.now())) {
|
||||
permission.setExpires(Instant.now());
|
||||
|
Loading…
Reference in New Issue
Block a user