mirror of
https://github.com/YGGverse/hl-php.git
synced 2026-03-31 09:05:44 +00:00
fix packet end condition
This commit is contained in:
parent
3ffb314fa4
commit
550efd120f
1 changed files with 1 additions and 1 deletions
|
|
@ -94,7 +94,7 @@ class Master
|
||||||
}
|
}
|
||||||
|
|
||||||
// Is end of packet
|
// Is end of packet
|
||||||
if (true === str_starts_with($host, (string) 0))
|
if (true === str_ends_with(bin2hex($host), bin2hex("\0\0\0\0\0\0")))
|
||||||
{
|
{
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue