Explorar o código

Update UdpConnection.php

walkor %!s(int64=8) %!d(string=hai) anos
pai
achega
89f8460250
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  1. 1 1
      Connection/UdpConnection.php

+ 1 - 1
Connection/UdpConnection.php

@@ -61,7 +61,7 @@ class UdpConnection extends ConnectionInterface
      */
     public function send($send_buffer, $raw = false)
     {
-        if (false === $raw && $this->protocol !== 'udp') {
+        if (false === $raw && $this->protocol) {
             $parser      = $this->protocol;
             $send_buffer = $parser::encode($send_buffer, $this);
             if ($send_buffer === '') {