From cbe0ec56fd252c94c22e062e95fbce7820105dcb Mon Sep 17 00:00:00 2001 From: Kim Alvefur Date: Fri, 25 Sep 2015 17:24:43 +0200 Subject: server_event: Remove unused former argument (fixes global access) [luacheck] --- net/server_event.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/net/server_event.lua b/net/server_event.lua index 3cfa76f6..98cc6986 100644 --- a/net/server_event.lua +++ b/net/server_event.lua @@ -725,7 +725,7 @@ local function addclient( addr, serverport, listener, pattern, sslctx, typ ) if res or ( err == "timeout" ) then local ip, port = client:getsockname( ) local interface = wrapclient( client, ip, serverport, listener, pattern, sslctx ) - interface:_start_connection( startssl ) + interface:_start_connection( sslctx ) debug( "new connection id:", interface.id ) return interface, err else -- cgit v1.2.3