diff options
Diffstat (limited to 'net/server_event.lua')
-rw-r--r-- | net/server_event.lua | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/net/server_event.lua b/net/server_event.lua index bbc9a527..8eaa96da 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -465,6 +465,8 @@ do end function interface_mt:ontimeout() end + function interface_mt:ondrain() + end function interface_mt:onstatus() debug("server.lua: Dummy onstatus()") end @@ -545,6 +547,7 @@ do if succ then -- writing succesful interface.writebuffer = "" interface.writebufferlen = 0 + interface:ondrain(); if interface.fatalerror then debug "closing client after writing" interface:_close() -- close interface if needed |