diff options
Diffstat (limited to 'IrcStates')
-rw-r--r-- | IrcStates/Server.cs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/IrcStates/Server.cs b/IrcStates/Server.cs index c20e041..b9e4ef4 100644 --- a/IrcStates/Server.cs +++ b/IrcStates/Server.cs @@ -57,7 +57,7 @@ namespace IrcStates public List<(Line, Emit)> Recv(byte[] data) { - var lines = _decoder.Push(data); + var lines = _decoder.Push(data, data.Length); if (lines == null) throw new ServerDisconnectedException(); var emits = lines.Select(ParseTokens).ToList(); |