diff options
author | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-10-18 22:58:31 +0000 |
---|---|---|
committer | Giuseppe Bilotta <giuseppe.bilotta@gmail.com> | 2006-10-18 22:58:31 +0000 |
commit | 9c7eb72b563416afaf43d9119559ab7d1c840a56 (patch) | |
tree | 985eeddacb1580ac13f1a60f65b87da2258c226d /data/rbot | |
parent | 41154292efa3b510f605143455fc3836c05e9750 (diff) |
Only show 1 RSS item when 1 RSS item is asked
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/rss.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index be7a3271..192c079a 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -200,7 +200,7 @@ class RSSFeedsPlugin < Plugin rev = lims[1].to_i > lims[2].to_i
else
ll = 0
- ul = [[lims[1].to_i-1, 1].max, 14].min
+ ul = [[lims[1].to_i-1, 0].max, 14].min
rev = false
end
|