diff options
Diffstat (limited to 'data')
-rw-r--r-- | data/rbot/plugins/rss.rb | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index 885ac84d..fbe1c12f 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -668,7 +668,10 @@ class RSSFeedsPlugin < Plugin unless fetchRss(feed)
failures += 1
else
- if first_run or (oldxml and oldxml == feed.xml)
+ if first_run
+ debug "first run for #{feed}, getting items"
+ parseRss(feed)
+ elsif oldxml and oldxml == feed.xml
debug "xml for #{feed} didn't change"
failures -= 1 if failures > 0
else
|