diff options
Diffstat (limited to 'lib/mauve/notification.rb')
-rw-r--r-- | lib/mauve/notification.rb | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/mauve/notification.rb b/lib/mauve/notification.rb index 8a5d241..899972b 100644 --- a/lib/mauve/notification.rb +++ b/lib/mauve/notification.rb @@ -122,8 +122,9 @@ module Mauve # def no_one_in(people_list) return true unless Configuration.current.people_lists.has_key?(people_list) + @test_time = @time if @test_time.nil? - return Configuration.current.people_lists[people_list].people.empty? + return Configuration.current.people_lists[people_list].people(@test_time).empty? end # Returns true if the current hour is in the list of hours given. |