mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 08:06:55 +00:00
InetHelper: Don't use deprecated function.
This commit is contained in:
parent
d3e85da0fd
commit
e4f1325f78
1 changed files with 1 additions and 1 deletions
|
@ -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 a new issue