diff --git a/plugins/RSS/plugin.py b/plugins/RSS/plugin.py index b3e66a012..83fb9752c 100644 --- a/plugins/RSS/plugin.py +++ b/plugins/RSS/plugin.py @@ -395,13 +395,13 @@ class RSS(callbacks.Plugin): except registry.NonExistentRegistryEntry: pass feed = self.getFeed(url) - info = feed.get('channel') + info = feed.get('feed') if not info: irc.error('I couldn\'t retrieve that RSS feed.') return - # check the 'modified' key, if it's there, convert it here first - if 'modified' in feed: - seconds = time.mktime(feed['modified']) + # check the 'modified_parsed' key, if it's there, convert it here first + if 'modified' in info: + seconds = time.mktime(info['modified_parsed']) now = time.mktime(time.gmtime()) when = utils.timeElapsed(now - seconds) + ' ago' else: