Skip to content

Commit

Permalink
31 Fix bug
Browse files Browse the repository at this point in the history
  • Loading branch information
id774 committed Feb 22, 2012
1 parent fe9b516 commit bfa11e4
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions plugins/filter/ignore.rb
Original file line number Diff line number Diff line change
Expand Up @@ -21,17 +21,19 @@ def exclude(link)
if detection
Log.puts("info", "Excluded: #{link}")
end
return detection
detection
end

def run
return_feeds = []
@pipeline.each {|feeds|
ignore = false
unless feeds.nil?
feeds.items.each {|feed|
return_feeds << feeds unless exclude(feed.link)
ignore = true if exclude(feed.link)
}
end
return_feeds << feeds unless ignore
}
return_feeds
end
Expand Down

0 comments on commit bfa11e4

Please sign in to comment.