fix(core): Fixes IPMatch and some cleanup (#443)

- [X] Fixes a bug where IPMatch was returning false on some IP ranges
- [X] Cleans up shrink table load.
This commit is contained in:
Kamron Batman 2021-02-03 14:31:02 -08:00 • committed by GitHub
parent cb22e662b4
commit 24ebdd0f90
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 22 additions and 30 deletions

View file

@ -72,7 +72,7 @@ namespace Server.Commands
}
#nullable enable
public static void RecurseExport(List<CAGJson> list, CategoryEntry ce, string category)
public static void RecurseExport(List<CAGJson> list, CategoryEntry ce, string? category)
{
category = string.IsNullOrWhiteSpace(category) ? ce.Title : $"{category}{ce.Title}";