aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/IRCSocket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCSocket.py b/src/IRCSocket.py
index 886cfe4a..f33227be 100644
--- a/src/IRCSocket.py
+++ b/src/IRCSocket.py
@@ -146,7 +146,7 @@ class Socket(IRCObject.Object):
bytes_written_i = self._socket.send(self._write_buffer)
bytes_written = self._write_buffer[:bytes_written_i]
- sent_lines_count = bytes_written.count(b"\r\n")
+ sent_lines_count = bytes_written.count(b"\n")
sent_lines = [] # type: typing.List[IRCLine.SentLine]
for i in range(sent_lines_count):
sent_lines.append(self._buffered_lines.pop(0))