summaryrefslogtreecommitdiff
path: root/data/rbot
diff options
context:
space:
mode:
authorGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-08 14:13:10 +0200
committerGiuseppe Bilotta <giuseppe.bilotta@gmail.com>2008-08-08 14:13:10 +0200
commitfb639f2a686e3261120ddbfb34602f5d56fab356 (patch)
tree4e8dfa79292dfc7d46a14eb98a731ba1a9c71e7a /data/rbot
parent619870dc4934ca1360d925a6671e61ed15a8f1a2 (diff)
lastfm plugin: support 'lastfm username' as the help suggests
Diffstat (limited to 'data/rbot')
-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 6482b543..0c40701c 100644
--- a/data/rbot/plugins/lastfm.rb
+++ b/data/rbot/plugins/lastfm.rb
@@ -427,8 +427,8 @@ plugin.map 'lastfm who :who', :action => :get_user, :thread => true
plugin.map 'lastfm who', :action => :get_user, :thread => true
plugin.map 'lastfm compare :user1 :user2', :action => :tasteometer, :thread => true
plugin.map 'np', :action => :now_playing, :thread => true
-plugin.map 'lastfm', :action => :now_playing, :thread => true
plugin.map "lastfm [user] :action [:user]", :thread => true,
:requirements => { :action =>
/^(?:events|friends|neighbou?rs|playlists|recent?tracks|top(?:album|artist|tag)s?|weekly(?:album|artist|track)chart|weeklychartlist)$/
}
+plugin.map "lastfm [:who]", :action => :now_playing, :thread => true