aboutsummaryrefslogtreecommitdiff
path: root/src/IRCSocket.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-04 17:51:20 +0100
committerGravatar jesopo2019-06-04 17:51:20 +0100
commit8dbae6a5e93bd97a27552fbb5890c0919c592788 (patch)
treed605cb9bb0a8b042081debc2ae15b0de92483ad0 /src/IRCSocket.py
parent`.on_send(` only exists on SentLines, not ParsedLines (diff)
signature
Give SentLine (and preproc.send events) a new event object, to track events
related to a line after it is sent
Diffstat (limited to 'src/IRCSocket.py')
-rw-r--r--src/IRCSocket.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/IRCSocket.py b/src/IRCSocket.py
index 4853a23f..3b3395e8 100644
--- a/src/IRCSocket.py
+++ b/src/IRCSocket.py
@@ -149,7 +149,7 @@ class Socket(IRCObject.Object):
sent_lines = [] # type: typing.List[IRCLine.SentLine]
for i in range(sent_lines_count):
sent_line = self._buffered_lines.pop(0)
- sent_line.sent()
+ sent_line.events.on("send").call()
sent_lines.append(sent_line)
self._write_buffer = self._write_buffer[bytes_written_i:]