Merge pull request #99 from rachelhyman/blacklist
Don't reply to blacklisted users
This commit is contained in:
commit
6db13e085b
1 changed files with 2 additions and 0 deletions
|
@ -267,6 +267,8 @@ module Ebooks
|
|||
if blacklisted?(ev.user.screen_name)
|
||||
log "Blocking blacklisted user @#{ev.user.screen_name}"
|
||||
@twitter.block(ev.user.screen_name)
|
||||
# we don't want to reply to blacklisted users, so return
|
||||
return
|
||||
end
|
||||
|
||||
# Avoid responding to duplicate tweets
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue