diff options
author | Raine Virta <rane@kapsi.fi> | 2009-02-19 16:26:34 +0200 |
---|---|---|
committer | Raine Virta <rane@kapsi.fi> | 2009-02-19 16:26:34 +0200 |
commit | 783ffa4235330029d661752b1023db635b26f2b3 (patch) | |
tree | e60c7a89e7053120b33810230401f5490a3cb697 /data/rbot/plugins/freshmeat.rb | |
parent | ff452ad1bf111025f0661274ac7fb8b2f769a293 (diff) |
remove whitespace
Diffstat (limited to 'data/rbot/plugins/freshmeat.rb')
-rw-r--r-- | data/rbot/plugins/freshmeat.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/data/rbot/plugins/freshmeat.rb b/data/rbot/plugins/freshmeat.rb index dce6c0d4..3ae887d1 100644 --- a/data/rbot/plugins/freshmeat.rb +++ b/data/rbot/plugins/freshmeat.rb @@ -88,7 +88,7 @@ class FreshmeatPlugin < Plugin m.reply reply } end - + def freshmeat(m, params) max = params[:limit].to_i max = 8 if max > 8 @@ -134,5 +134,5 @@ end plugin = FreshmeatPlugin.new plugin.map 'freshmeat search :limit *search', :action => 'search_freshmeat', :defaults => {:limit => 4}, :requirements => {:limit => /^\d+$/} -plugin.map 'freshmeat :limit', :defaults => {:limit => 4}, +plugin.map 'freshmeat :limit', :defaults => {:limit => 4}, :requirements => {:limit => /^\d+$/} |