aboutsummaryrefslogtreecommitdiffstats
path: root/net
diff options
context:
space:
mode:
Diffstat (limited to 'net')
-rw-r--r--net/server_select.lua2
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