Software /
code /
prosody
Changeset
7809:34ca48325ce7
net.server_event: Also replace 'ondrain' when setting new listeners (thanks Ge0rG)
author | Kim Alvefur <zash@zash.se> |
---|---|
date | Wed, 04 Jan 2017 11:24:48 +0100 |
parents | 7807:caf26fc419e9 |
children | 7810:cdb5dd9f35c0 7812:2bc339352dcd |
files | net/server_event.lua |
diffstat | 1 files changed, 1 insertions(+), 0 deletions(-) [+] |
line wrap: on
line diff
--- a/net/server_event.lua Wed Jan 04 10:53:12 2017 +0100 +++ b/net/server_event.lua Wed Jan 04 11:24:48 2017 +0100 @@ -417,6 +417,7 @@ self.onreadtimeout = listener.onreadtimeout; self.onstatus = listener.onstatus; self.ondetach = listener.ondetach; + self.ondrain = listener.ondrain; end -- Stub handlers