Permalink
Browse files

Fix numbers

  • Loading branch information...
1 parent 1c0c160 commit 59a6e9f0e77fce65f110e82d4a0b80563f7bb68c @tobi committed Jul 9, 2008
Showing with 1 addition and 1 deletion.
  1. +1 −1 backfire.rb
View
2 backfire.rb
@@ -88,7 +88,7 @@ def self.go(interval = 20)# seconds
puts 'Starting backfire'
last_run = Time.now
while not exit
- if last_run - Time.now > interval
+ if Time.now - last_run > interval
update_campfire
last_run = Time.now
end

0 comments on commit 59a6e9f

Please sign in to comment.