diff options
Diffstat (limited to 'lib/mauve/notifiers/xmpp.rb')
-rw-r--r-- | lib/mauve/notifiers/xmpp.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/mauve/notifiers/xmpp.rb b/lib/mauve/notifiers/xmpp.rb index 137ca74..323f89d 100644 --- a/lib/mauve/notifiers/xmpp.rb +++ b/lib/mauve/notifiers/xmpp.rb @@ -647,7 +647,7 @@ EOF # unless note.to_s.empty? note = Alert.remove_html(note) - h = History.new(:alerts => succeeded, :type => "note", :event => username+" noted "+note.to_s) + h = History.new(:alerts => succeeded, :type => "note", :event => note.to_s, :user => username) logger.debug h.errors unless h.save end |