aboutsummaryrefslogtreecommitdiff
path: root/lib/mauve/notifiers/xmpp.rb
diff options
context:
space:
mode:
authorPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 14:21:45 +0100
committerPatrick J Cherry <patrick@bytemark.co.uk>2012-05-08 14:21:45 +0100
commit6b5646f70b1c14eadeb9778f93e078338f45f3f4 (patch)
tree7479ab98182e9c27d0ced71f03e5f10e25568a30 /lib/mauve/notifiers/xmpp.rb
parent75965bd39036705cf20ad205a712c47c56261d76 (diff)
Changed destroy! to destroy everywhere to ensure Histories are deleted
correctly. Added test.
Diffstat (limited to 'lib/mauve/notifiers/xmpp.rb')
-rw-r--r--lib/mauve/notifiers/xmpp.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb
index 323f89d..dc44f1c 100644
--- a/lib/mauve/notifiers/xmpp.rb
+++ b/lib/mauve/notifiers/xmpp.rb
@@ -677,7 +677,7 @@ EOF
next
end
- if alert.destroy!
+ if alert.destroy
msg << "#{alert.to_s} destroyed"
else
msg << "#{alert.to_s}: destruction failed."