aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/person.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 14:50:56 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-08-19 14:50:56 +0100
commit8d209c0f6a1b3c47f9bc55b6f63cb14bfa935162 (patch)
treee7fc5b55868ce2a03ea14b504462ae83a024e8ec /lib/mauve/person.rb
parent638a0cb31b5dd3c0131035c19c14e0ac709a9a2e (diff)
Don't remind about acknowledged or cleared alerts!
Diffstat (limited to 'lib/mauve/person.rb')
-rw-r--r--lib/mauve/person.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb
index e52b644..26425da 100644
--- a/lib/mauve/person.rb
+++ b/lib/mauve/person.rb
@@ -102,6 +102,12 @@ module Mauve
return false
end
+ #
+ # For the love of God, do not remind about ack'd or cleared alerts.
+ #
+ if alert.acknowledged? or alert.cleared?
+ remind_at = nil
+ end
this_reminder = AlertChanged.new(
:level => level.to_s,