summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--data/rbot/plugins/rss.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb
index 981eb4f8..f9399816 100644
--- a/data/rbot/plugins/rss.rb
+++ b/data/rbot/plugins/rss.rb
@@ -1157,9 +1157,10 @@ class RSSFeedsPlugin < Plugin
errors << [parser, e, "processing error occured, sorry =("]
end
end
- debug errors unless errors.empty?
- if !rss
+ unless errors.empty?
+ debug errors
self.send(:report_problem, errors.last[2], errors.last[1], m)
+ return nil
end
items = []
if rss.nil?