walkor 7 lat temu
rodzic
commit
9893a3b26e
1 zmienionych plików z 1 dodań i 1 usunięć
  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");
     }
 }