Software /
code /
prosody
Changeset
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 (2009-11-28) |
parents | 2249:6e0c861dc61f |
children | 2251:18079ede5b62 |
files | net/server_select.lua |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
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