aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notification.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2014-07-03 12:01:25 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2014-07-03 12:01:25 +0100
commit02cd939814dc8aebc80b5a23a3ba6b68f4118864 (patch)
tree3e74d4e098187fc8e8536c9cef98efa15347c3b0 /lib/mauve/notification.rb
parentf6ddf58350e015ee49d35d3ac4a74cce53e62102 (diff)
parent9e8ee3bec749abf11a71003efd201e1e3fb0843f (diff)
Merge
Diffstat (limited to 'lib/mauve/notification.rb')
-rw-r--r--lib/mauve/notification.rb4
1 files changed, 1 insertions, 3 deletions
diff --git a/lib/mauve/notification.rb b/lib/mauve/notification.rb
index 745660a..c164afb 100644
--- a/lib/mauve/notification.rb
+++ b/lib/mauve/notification.rb
@@ -319,9 +319,7 @@ module Mauve
#
# A bit of alert de-bouncing.
#
- if already_sent_to.include?(person.username)
- logger.info("Already sent notification of #{alert} to #{person.username}")
- else
+ unless already_sent_to.include?(person.username)
person.send_alert(level, alert)
already_sent_to << person.username
end