Software /
code /
prosody
Diff
net/server_select.lua @ 2250:3196dabe8a36
net.server_select: Update conn.close() to use new connection method convention
author | Matthew Wild <mwild1@gmail.com> |
---|---|
date | Sat, 28 Nov 2009 14:09:53 +0000 |
parent | 2233:459c1d1cae95 |
child | 2302:2dc9bbf25447 |
line wrap: on
line diff
--- a/net/server_select.lua Fri Nov 27 18:02:24 2009 +0000 +++ b/net/server_select.lua Sat Nov 28 14:09:53 2009 +0000 @@ -353,7 +353,7 @@ handler.shutdown = function( pattern ) return shutdown( socket, pattern ) end - handler.close = function( forced ) + handler.close = function( self, forced ) if not handler then return true; end _readlistlen = removesocket( _readlist, socket, _readlistlen ) _readtimes[ handler ] = nil