aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/alert_changed.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2013-05-01 11:53:12 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2013-05-01 11:53:12 +0100
commit0267aaa13b2513cd40451932334ca72fbb62f2c0 (patch)
tree944092614a698bc21f93a1a93d86d8ec6d84f622 /lib/mauve/alert_changed.rb
parent973afb547eeacc572b5834e6eaba513db4847f6e (diff)
Added conditions to prevent races.
Diffstat (limited to 'lib/mauve/alert_changed.rb')
-rw-r--r--lib/mauve/alert_changed.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/alert_changed.rb b/lib/mauve/alert_changed.rb
index 2b9dfe5..6925085 100644
--- a/lib/mauve/alert_changed.rb
+++ b/lib/mauve/alert_changed.rb
@@ -110,7 +110,7 @@ module Mauve
#
# Push this notifitcation onto the queue.
#
- Server.notification_push([alert, Time.now])
+ Server.notification_push([alert, self.remind_at])
end
#