mirror of
https://github.com/xPaw/PHP-Source-Query.git
synced 2026-05-18 14:53:33 +02:00
Trim NUL bytes from rcon output, fixes #51
This commit is contained in:
@@ -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 )
|
||||||
|
|||||||
Reference in New Issue
Block a user