.on_send(
only exists on SentLines, not ParsedLines
This commit is contained in:
parent
09015dd302
commit
825dce5292
1 changed files with 2 additions and 2 deletions
|
@ -25,8 +25,8 @@ class Module(ModuleManager.BaseModule):
|
|||
server.socket.clear_send_buffer()
|
||||
|
||||
line = utils.irc.protocol.quit("Shutting down")
|
||||
line.on_send(self._make_hook(server))
|
||||
server.send(line, immediate=True)
|
||||
sent_line = server.send(line, immediate=True)
|
||||
sent_line.on_send(self._make_hook(server))
|
||||
|
||||
server.send_enabled = False
|
||||
written = True
|
||||
|
|
Loading…
Reference in a new issue