InetHelper: Don't use deprecated function.
This commit is contained in:
parent
d3e85da0fd
commit
e4f1325f78
@ -25,6 +25,6 @@ defmodule Pleroma.Helpers.InetHelper do
|
||||
InetCidr.v6?(InetCidr.parse_address!(proxy)) -> proxy <> "/128"
|
||||
end
|
||||
|
||||
InetCidr.parse(proxy, true)
|
||||
InetCidr.parse_cidr!(proxy, true)
|
||||
end
|
||||
end
|
||||
|
Loading…
Reference in New Issue
Block a user