mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-06-28 04:53:15 +02:00
Correct const for request value (it is still same value)
This commit is contained in:
@@ -58,6 +58,7 @@
|
|||||||
/**
|
/**
|
||||||
* Source rcon sent
|
* Source rcon sent
|
||||||
*/
|
*/
|
||||||
|
const SERVERDATA_REQUESTVALUE = 0;
|
||||||
const SERVERDATA_EXECCOMMAND = 2;
|
const SERVERDATA_EXECCOMMAND = 2;
|
||||||
const SERVERDATA_AUTH = 3;
|
const SERVERDATA_AUTH = 3;
|
||||||
|
|
||||||
|
|||||||
@@ -145,7 +145,7 @@
|
|||||||
// See https://developer.valvesoftware.com/wiki/Source_RCON_Protocol#Multiple-packet_Responses
|
// See https://developer.valvesoftware.com/wiki/Source_RCON_Protocol#Multiple-packet_Responses
|
||||||
if( StrLen( $Data ) >= 4000 )
|
if( StrLen( $Data ) >= 4000 )
|
||||||
{
|
{
|
||||||
$this->Write( SourceQuery::SERVERDATA_RESPONSE_VALUE );
|
$this->Write( SourceQuery::SERVERDATA_REQUESTVALUE );
|
||||||
|
|
||||||
do
|
do
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user