walkor пре 7 година
родитељ
комит
9893a3b26e
1 измењених фајлова са 1 додато и 1 уклоњено
  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");
     }
 }