mirror of
https://github.com/discourse/discourse.git
synced 2025-02-25 18:55:32 -06:00
FIX: use allowlist and blocklist terminology (#10209)
This is a PR of the renaming whitelist to allowlist and blacklist to the blocklist.
This commit is contained in:
committed by
GitHub
parent
5077cf52fd
commit
e0d9232259
@@ -28,7 +28,7 @@ class SpamRule::FlagSockpuppets
|
||||
@post.user != first_post.user &&
|
||||
@post.user.ip_address == first_post.user.ip_address &&
|
||||
@post.user.new_user? &&
|
||||
!ScreenedIpAddress.is_whitelisted?(@post.user.ip_address)
|
||||
!ScreenedIpAddress.is_allowed?(@post.user.ip_address)
|
||||
end
|
||||
|
||||
def flag_sockpuppet_users
|
||||
|
||||
Reference in New Issue
Block a user