diff options
Diffstat (limited to 'net')
-rw-r--r-- | net/server.lua | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/net/server.lua b/net/server.lua index ca6e6380..9418d388 100644 --- a/net/server.lua +++ b/net/server.lua @@ -530,7 +530,7 @@ wrapconnection = function( server, listeners, socket, ip, serverport, clientport end
end
disconnect( handler, "ssl handshake failed" )
- handler.close( true ) -- forced disconnect
+ _ = handler and handler.close( true ) -- forced disconnect
return false -- handshake failed
end
)
|