Permalink
Browse files

fix event handling

  • Loading branch information...
mojombo committed Dec 10, 2008
1 parent 23a363f commit ccd040c500d012e9818ac398f33b74e765225bef
Showing with 4 additions and 3 deletions.
  1. +3 −2 History.txt
  2. +1 −1 lib/god/task.rb
View
@@ -1,6 +1,7 @@
-== 0.7.12 /
- * Buf Fixes
+== 0.7.12 /
+ * Bug Fixes
* Fix capistrano deployability [github.com/eric]
+ * Fix event handling [brianw]
== 0.7.11 / 2008-11-14
* Bug Fixes
View
@@ -372,7 +372,7 @@ def handle_event(condition)
messages = self.log_line(self, metric, condition, true)
# notify
- if result && condition.notify
+ if condition.notify
self.notify(condition, messages.last)
end

0 comments on commit ccd040c

Please sign in to comment.