diff options
Diffstat (limited to 'data/rbot')
-rw-r--r-- | data/rbot/plugins/rss.rb | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/data/rbot/plugins/rss.rb b/data/rbot/plugins/rss.rb index fc3082e8..cabc8272 100644 --- a/data/rbot/plugins/rss.rb +++ b/data/rbot/plugins/rss.rb @@ -175,6 +175,7 @@ module ::RSS }.each { |name, chain| def_bang name, chain } def categories! + return nil unless self.respond_to? :categories cats = categories.map do |c| blank2nil { c.content rescue c rescue nil } end.compact |