From c272b3fa7c1cdc5765987589270fc1ad366b8694 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Sat, 5 Jul 2008 00:09:01 +0200 Subject: lastfm plugin: artist summary is HTML, IRC-ify it --- data/rbot/plugins/lastfm.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot/plugins') 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) -- cgit v1.2.3