Skip to content

Commit

Permalink
Merge branch 'pro-account-bans'
Browse files Browse the repository at this point in the history
  • Loading branch information
gbp committed Sep 29, 2023
2 parents 85ca241 + 73ef09c commit 56b9d34
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/pro_account_bans.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ def update_source
end

def pro_account_banned?
return false unless bans_config
return false unless bans_config && @token

bans_config.any? do |ban|
ban.all? do |k, banned_value|
Expand Down

0 comments on commit 56b9d34

Please sign in to comment.