Skip to content

Commit a81d716

Browse files
committed
don't spam anything with more than 1 heart
1 parent c848a57 commit a81d716

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lib/tasks/spam.rake

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ namespace :spam do
66
good_protips = []
77
protips.each do |p|
88
flags = Spaminator.new.protip_flags(p)
9-
if flags.any?
9+
if flags.any? && p.hearts_count <= 1
1010
Rails.logger.debug "#{p.id} – #{p.title}#{p.body[0..100].gsub("\n", '')}"
1111
Rails.logger.debug "#{flags.inspect}" if flags.any?
1212
Rails.logger.debug

0 commit comments

Comments
 (0)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy