1
0
Fork 0
mirror of https://github.com/lidarr/Lidarr synced 2025-02-25 07:12:40 +00:00

Fixed typo in Cleanse IP

This commit is contained in:
Taloth Saldono 2020-06-03 18:33:00 +02:00 committed by Qstick
parent 312c3b786e
commit e59bf51b45

View file

@ -83,7 +83,7 @@ private static string CleanseRemoteIP(Match match)
var postfix = match.Value.Substring(group.Index + group.Length - match.Index);
var items = valueIP.Split('.');
return $"{prefix}{items[0]}.*.*.{items[0]}{postfix}";
return $"{prefix}{items[0]}.*.*.{items[3]}{postfix}";
}
return match.Value;