diff options
Diffstat (limited to 'data/rbot/plugins/lastfm.rb')
-rw-r--r-- | data/rbot/plugins/lastfm.rb | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/data/rbot/plugins/lastfm.rb b/data/rbot/plugins/lastfm.rb index 81b203f6..1d48b6d0 100644 --- a/data/rbot/plugins/lastfm.rb +++ b/data/rbot/plugins/lastfm.rb @@ -9,11 +9,8 @@ class LastFmPlugin < Plugin def do_lastfm (m, params) begin - if params[:action] == "neighbors" then + if params[:action] == "neighbors" || params[:action] == "neighbours" then params[:action]="neighbours" - elsif params[:action] == "neighbours" then - m.reply "Thats not how you spell neighbors, you dolt!" - return end data = open("http://ws.audioscrobbler.com/1.0/user/#{params[:user]}/#{params[:action]}.txt") m.reply "#{params[:action]} for #{params[:user]}:" |