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:
parent
cb22e662b4
commit
24ebdd0f90
7 changed files with 22 additions and 30 deletions
|
|
@ -21,7 +21,7 @@ namespace Server.Network
|
|||
{
|
||||
public sealed class ServerInfo
|
||||
{
|
||||
private IPEndPoint m_Address;
|
||||
private readonly IPEndPoint m_Address;
|
||||
|
||||
public ServerInfo(string name, int fullPercent, TimeZoneInfo tz, IPEndPoint address)
|
||||
{
|
||||
|
|
@ -40,7 +40,7 @@ namespace Server.Network
|
|||
public IPEndPoint Address
|
||||
{
|
||||
get => m_Address;
|
||||
set
|
||||
init
|
||||
{
|
||||
m_Address = value;
|
||||
Span<byte> integer = stackalloc byte[4];
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue