Skip to content
This repository has been archived by the owner on Apr 24, 2024. It is now read-only.

Commit

Permalink
Fixed ServerListCheck
Browse files Browse the repository at this point in the history
Former-commit-id: 93b6139
  • Loading branch information
xishift committed Jul 24, 2020
1 parent 2b5aac1 commit 5756b57
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -20,10 +20,10 @@ public boolean check(BotUser user) {
case NEVER:
return false;
case ALWAYS:
return this.getStorage().getPingCache().contains(user.getAddress());
return !this.getStorage().getPingCache().contains(user.getAddress());
case ATTACK:
if (this.getEpicGuard().isAttack()) {
return this.getStorage().getPingCache().contains(user.getAddress());
return !this.getStorage().getPingCache().contains(user.getAddress());
}
}
return false;
Expand Down

0 comments on commit 5756b57

Please sign in to comment.