From 50915afcf6e80742c9db13fdf05b02010a027dfa Mon Sep 17 00:00:00 2001 From: Nikita Vilunov Date: Sat, 22 Jul 2023 21:11:01 +0200 Subject: [PATCH] end server msgs in \r\n --- src/protos/irc/server.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/protos/irc/server.rs b/src/protos/irc/server.rs index b9deaa6..0ecd81e 100644 --- a/src/protos/irc/server.rs +++ b/src/protos/irc/server.rs @@ -24,7 +24,7 @@ impl ServerMessage { None => {} } self.body.write_async(writer).await?; - writer.write_all(b"\n").await?; + writer.write_all(b"\r\n").await?; Ok(()) } }