diff options
author | Matthew Wild <mwild1@gmail.com> | 2009-11-28 14:09:53 +0000 |
---|---|---|
committer | Matthew Wild <mwild1@gmail.com> | 2009-11-28 14:09:53 +0000 |
commit | fc078849d5ae5736fb9b1ec1e49ad1892cda6f4b (patch) | |
tree | 9e698e8e520e08ccee7c8ed38e23f34342410d27 | |
parent | 9d337d5a138b6fd7a29d630a48c5415086def06f (diff) | |
download | prosody-fc078849d5ae5736fb9b1ec1e49ad1892cda6f4b.tar.gz prosody-fc078849d5ae5736fb9b1ec1e49ad1892cda6f4b.zip |
net.server_select: Update conn.close() to use new connection method convention
-rw-r--r-- | net/server_select.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server_select.lua b/net/server_select.lua index 3b3f3768..ab2efcb0 100644 --- a/net/server_select.lua +++ b/net/server_select.lua @@ -353,7 +353,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport 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
|