diff options
author | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-17 10:26:34 +0100 |
---|---|---|
committer | Patrick J Cherry <patrick@bytemark.co.uk> | 2011-08-17 10:26:34 +0100 |
commit | 79dcf16ec6d229d6c31e055ed8e6a98327526a3a (patch) | |
tree | bf7fd3c5e8de1d0bf3c519d421472a656570a2b7 /lib/mauve/person.rb | |
parent | f1608b8098d0302f7e5c0e7989c78fa310d7d424 (diff) |
Changed DateTime to Time everywhere. Much better.
Diffstat (limited to 'lib/mauve/person.rb')
-rw-r--r-- | lib/mauve/person.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/person.rb b/lib/mauve/person.rb index 9d541a9..76b52e0 100644 --- a/lib/mauve/person.rb +++ b/lib/mauve/person.rb @@ -179,7 +179,7 @@ module Mauve end - if Server.instance.started_at > alert.updated_at.to_time and (Server.instance.started_at + Server.instance.initial_sleep) > Time.now + if Server.instance.started_at > alert.updated_at and (Server.instance.started_at + Server.instance.initial_sleep) > Time.now logger.info("Alert last updated in prior run of mauve -- ignoring for initial sleep period.") return true end |