Skip to content

Commit

Permalink
fix: reverse condition
Browse files Browse the repository at this point in the history
  • Loading branch information
Luca Peruzzo committed Sep 9, 2022
1 parent eb4dc06 commit 307bce3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -460,7 +460,7 @@ public void cancelDelay(final PluginCall call) {

private void _checkCancelDelay(Boolean killed) {
final String delayUpdate = this.prefs.getString(DELAY_UPDATE, "");
if ("".equals(delayUpdate)) {
if (!"".equals(delayUpdate)) {
if ("background".equals(delayUpdate) && !killed) {
this._cancelDelay("background check");
} else if ("kill".equals(delayUpdate) && killed) {
Expand Down

0 comments on commit 307bce3

Please sign in to comment.