summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRaine Virta <rane@kapsi.fi>2009-02-19 03:40:26 +0200
committerRaine Virta <rane@kapsi.fi>2009-02-19 03:54:35 +0200
commit117fc578fe79f97ab6de26679d8cfd2755aaddc6 (patch)
tree6df1c58a08f924c5171b927c18e2d1b3ade852b6
parenta14e483f44d0c99b55e762c5ed39c990c3549c68 (diff)
lastfm: fix misplaced parenthesis in output
-rw-r--r--data/rbot/plugins/lastfm.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb
index 52f9754e..8742e4f7 100644
--- a/data/rbot/plugins/lastfm.rb
+++ b/data/rbot/plugins/lastfm.rb
@@ -581,7 +581,7 @@ class LastFmPlugin < Plugin
format = "%{artist} (%{bold}%{plays}%{bold})"
artist = item.elements["name"].text
when :toptracks, :topalbums
- format = "%{artist} - (%{title} %{bold}%{plays}%{bold})"
+ format = "%{artist} - %{title} (%{bold}%{plays}%{bold})"
artist = item.elements["artist/name"].text
end