diff --git a/SourceQuery/Socket.php b/SourceQuery/Socket.php index 4f5cf9f..3ade82a 100644 --- a/SourceQuery/Socket.php +++ b/SourceQuery/Socket.php @@ -27,7 +27,7 @@ { public function Close( ) : void { - if( $this->Socket !== null ) + if( $this->Socket ) { FClose( $this->Socket );