diff --git a/SourceQuery/SourceRcon.class.php b/SourceQuery/SourceRcon.class.php index 1bfaab6..c2fc518 100644 --- a/SourceQuery/SourceRcon.class.php +++ b/SourceQuery/SourceRcon.class.php @@ -66,7 +66,7 @@ public function Write( $Header, $String = '' ) { // Pack the packet together - $Command = Pack( 'VV', ++$this->RconRequestId, $Header ) . $String . "\x00\x00\x00"; + $Command = Pack( 'VV', ++$this->RconRequestId, $Header ) . $String . "\x00\x00"; // Prepend packet length $Command = Pack( 'V', StrLen( $Command ) ) . $Command;