mirror of
https://github.com/thewesker/ebooks_example.git
synced 2025-12-20 04:11:13 -05:00
remove undefined variable from can_follow? check
This commit is contained in:
2
bots.rb
2
bots.rb
@@ -193,7 +193,7 @@ class BoodooBot
|
||||
# Only follow our original user or people who are following our original user
|
||||
# @param user [Twitter::User]
|
||||
def can_follow?(username)
|
||||
@original.nil? || username == @original || twitter.friendship?(username, @original) || twitter.friendship?(username, @original) || twitter.friendship?(username, auth_name)
|
||||
@original.nil? || username == @original || twitter.friendship?(username, @original) || twitter.friendship?(username, @username)
|
||||
end
|
||||
|
||||
def favorite(tweet)
|
||||
|
||||
Reference in New Issue
Block a user