diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/rss.rb | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index a1bec30f..7407655e 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -591,13 +591,12 @@ class RSSFeedsPlugin < Plugin fetched = fetchRss(feed, m, false) end return unless fetched or feed.xml - if not fetched and feed.items - m.reply "using old data" - else + if fetched or not feed.items parsed = parseRss(feed, m) - m.reply "using old data" unless parsed end return unless feed.items + m.reply "using old data" unless fetched and parsed + title = feed.title items = feed.items |