aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notification.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2011-06-17 18:06:46 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2011-06-17 18:06:46 +0100
commitfd8256beea549a1650cd8fbe1f1d79c7b08a0772 (patch)
treeb31d9118a12492a2d777d57b286fc889b5d718d4 /lib/mauve/notification.rb
parente806fe922cf898a38c17ceeda4555e153943c999 (diff)
Reinstated relevance.
Diffstat (limited to 'lib/mauve/notification.rb')
-rw-r--r--lib/mauve/notification.rb4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/mauve/notification.rb b/lib/mauve/notification.rb
index 7ce0da3..2f77a13 100644
--- a/lib/mauve/notification.rb
+++ b/lib/mauve/notification.rb
@@ -83,7 +83,7 @@ module Mauve
end
def working_hours?
- now.working_hours?
+ @time.working_hours?
end
# Return true in the dead zone between 3 and 7 in the morning.
@@ -92,7 +92,7 @@ module Mauve
#
# @return [Boolean] Whether now is a in the dead zone or not.
def dead_zone?
- now.dead_zone?
+ @time.dead_zone?
end
end