walkor 7 vuotta sitten
vanhempi
commit
9893a3b26e
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. 1 1
      Protocols/Text.php

+ 1 - 1
Protocols/Text.php

@@ -65,6 +65,6 @@ class Text
     public static function decode($buffer)
     {
         // Remove "\n"
-        return trim($buffer);
+        return rtrim($buffer, "\r\n");
     }
 }