Skip to content

Commit

Permalink
Fix granting / denying permissions [in PermOverrideManager] (#769)
Browse files Browse the repository at this point in the history
  • Loading branch information
schnapster authored and MinnDevelopment committed Sep 9, 2018
1 parent 493e069 commit 7b3e9dc
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -204,7 +204,7 @@ public PermOverrideManager grant(long permissions)
setupValues();
this.allowed |= permissions;
this.denied &= ~permissions;
this.set |= ALLOWED;
this.set |= PERMISSIONS;
return this;
}

Expand Down Expand Up @@ -267,7 +267,7 @@ public PermOverrideManager deny(long permissions)
setupValues();
this.denied |= permissions;
this.allowed &= ~permissions;
this.set |= DENIED;
this.set |= PERMISSIONS;
return this;
}

Expand Down

0 comments on commit 7b3e9dc

Please sign in to comment.