diff --git a/SourceQuery/Rcon.class.php b/SourceQuery/Rcon.class.php index b0f954f..260b346 100644 --- a/SourceQuery/Rcon.class.php +++ b/SourceQuery/Rcon.class.php @@ -77,7 +77,7 @@ case SourceQuery :: SOURCE: { // Pack the packet together - $Command = Pack( 'VV', ++$this->RequestId, $Header ) . $String . "\x00\x00\x00"; + $Command = Pack( 'VV', ++$this->RconRequestId, $Header ) . $String . "\x00\x00\x00"; // Prepend packet length $Command = Pack( 'V', StrLen( $Command ) ) . $Command;