From 9c7eb72b563416afaf43d9119559ab7d1c840a56 Mon Sep 17 00:00:00 2001 From: Giuseppe Bilotta Date: Wed, 18 Oct 2006 22:58:31 +0000 Subject: Only show 1 RSS item when 1 RSS item is asked --- data/rbot/plugins/rss.rb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'data/rbot') 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 -- cgit v1.2.3