diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-05 00:09:01 +0200 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2008-07-05 00:09:01 +0200 |
commit | c272b3fa7c1cdc5765987589270fc1ad366b8694 (patch) | |
tree | 25524da3f4c3c486e8d9558124ab96ddf54b9523 /data/rbot | |
parent | 4bfa2f6d1bc8b1ae67bdaeef3c95edab40261bbe (diff) |
lastfm plugin: artist summary is HTML, IRC-ify it
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/lastfm.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index cd2329e0..44a265bd 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -278,7 +278,7 @@ class LastFmPlugin < Plugin listeners = first.elements["stats"].elements["listeners"].text summary = first.elements["bio"].elements["summary"].text m.reply _("\"%{a}\" has been played %{c} times and is being listened to by %{l} people.") % {:a => artist, :c => playcount, :l => listeners} - m.reply summary.strip + m.reply summary.ircify_html end def find_track(m, params) |