aboutsummaryrefslogtreecommitdiff
path: root/src/IRCServer.py
diff options
context:
space:
mode:
authorGravatar jesopo2019-06-07 11:05:43 +0100
committerGravatar jesopo2019-06-07 11:05:43 +0100
commit09fbbae5e3b36d2d1753c755da1bfe5848c4dfb7 (patch)
treee353144e613144737615b10c343b97d68ba0632e /src/IRCServer.py
parentCall _check *after* read epoll call - to make sure timeouts are hit accurately (diff)
signature
"send" event on SentLines should be run on the main thread
Diffstat (limited to 'src/IRCServer.py')
-rw-r--r--src/IRCServer.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/IRCServer.py b/src/IRCServer.py
index 795ccaac..bece7609 100644
--- a/src/IRCServer.py
+++ b/src/IRCServer.py
@@ -248,6 +248,7 @@ class Server(IRCObject.Object):
return lines
def _post_send(self, lines: typing.List[IRCLine.SentLine]):
for line in lines:
+ line.events.on("send").call()
self.events.on("raw.send").call_unsafe(server=self,
line=line.parsed_line)