summaryrefslogtreecommitdiff
path: root/data
diff options
context:
space:
mode:
Diffstat (limited to 'data')
-rw-r--r--data/rbot/plugins/rss.rb4
1 files changed, 3 insertions, 1 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index eb3fa5f8..03e54140 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -1079,8 +1079,10 @@ class RSSFeedsPlugin < Plugin
date = \
if opts[:date]
- if item.respond_to?(:updated)
+ if item.respond_to?(:updated) and item.updated
make_date(item.updated.content)
+ elsif item.respond_to?(:modified) and item.modified
+ make_date(item.modified.content)
elsif item.respond_to?(:source) and item.source.respond_to?(:updated)
make_date(item.source.updated.content)
elsif item.respond_to?(:pubDate)