Skip to content

A platform for community discussion. Free, open, simple.

DEV: Follow Discourse's convention when monkey patching.

Alan Guo Xiang Tanab2c17236a3f
diff --git a/app/models/screened_ip_address.rb b/app/models/screened_ip_address.rb
index cc81c462f00..d371864eda3 100644
--- a/app/models/screened_ip_address.rb
+++ b/app/models/screened_ip_address.rb
@@ -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.
diff --git a/lib/ip_addr.rb b/lib/freedom_patches/ip_addr.rb
similarity index 100%
rename from lib/ip_addr.rb
rename to lib/freedom_patches/ip_addr.rb