logo

pleroma

My custom branche(s) on git.pleroma.social/pleroma/pleroma git clone https://hacktivis.me/git/pleroma.git
commit: e4f1325f78e9be9fb200358d73794f15794c39bd
parent d3e85da0fd5a0022afdabe76bd5494217205f037
Author: Lain Soykaf <lain@lain.com>
Date:   Mon, 27 May 2024 19:44:41 +0400

InetHelper: Don't use deprecated function.

Diffstat:

Mlib/pleroma/helpers/inet_helper.ex2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/pleroma/helpers/inet_helper.ex b/lib/pleroma/helpers/inet_helper.ex @@ -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