Skip to content

Commit

Permalink
Prevent sending one final notification clear after disabling the setting
Browse files Browse the repository at this point in the history
  • Loading branch information
qvr committed Jun 1, 2013
1 parent 2213654 commit cb0ebb7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Irssi/irssinotifier.pl
Original file line number Diff line number Diff line change
Expand Up @@ -404,6 +404,8 @@ sub are_settings_valid {
return 0;
}

$notifications_sent = 0 unless (Irssi::settings_get_bool('irssinotifier_clear_notifications_when_viewed'));

return 1;
}

Expand Down

0 comments on commit cb0ebb7

Please sign in to comment.