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