DEV: Follow Discourse's convention when monkey patching.

Having to load `ip_addr` is confusing especially when that file exists
to monkey patch Ruby's `IpAddr` class. Moving it to our freedom patches
folder which is automatically loaded on initialization.
This commit is contained in:
Alan Guo Xiang Tan 2022-01-10 09:52:02 +08:00
parent 0d9ab0beb3
commit ab2c17236a
2 changed files with 0 additions and 1 deletions

View File

@ -1,7 +1,6 @@
# frozen_string_literal: true
require 'screening_model'
require 'ip_addr'
# A ScreenedIpAddress record represents an IP address or subnet that is being watched,
# and possibly blocked from creating accounts.