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
|
|
@ -62,7 +62,7 @@ namespace Server.Tests.Network
|
|||
|
||||
var strLength = fixedLength > -1 ? Math.Min(value.Length, fixedLength) : value.Length;
|
||||
var chars = value.AsSpan(0, strLength);
|
||||
;
|
||||
|
||||
encoding.GetBytes(chars, buffer.Slice(offset));
|
||||
|
||||
var reader = new CircularBufferReader(buffer.SliceToLength(firstSize), buffer.Slice(firstSize));
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue