Trim NUL bytes from rcon output, fixes #51

pull/56/head
xPaw 10 years ago
parent 0e55dddae8
commit e95be546f1

@ -162,9 +162,7 @@
while( true ); while( true );
} }
// TODO: It should use GetString, but there are no null bytes at the end, why? return rtrim( $Buffer, "\0" );
// $Buffer = $this->Buffer->GetString( );
return $Buffer;
} }
public function Authorize( $Password ) public function Authorize( $Password )

Loading…
Cancel
Save