InetHelper: Don't use deprecated function.

This commit is contained in:
Lain Soykaf 2024-05-27 19:44:41 +04:00
parent d3e85da0fd
commit e4f1325f78

View file

@ -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