aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKim Alvefur <zash@zash.se>2015-09-25 17:24:43 +0200
committerKim Alvefur <zash@zash.se>2015-09-25 17:24:43 +0200
commit676b2f5857f7336effe275fc39e1d3fc252425dc (patch)
tree1d1fed166f2f6b68090010996d0c96960925c3e1
parentede3ce082af110d62ef98187e8144473f6fac9b5 (diff)
downloadprosody-676b2f5857f7336effe275fc39e1d3fc252425dc.tar.gz
prosody-676b2f5857f7336effe275fc39e1d3fc252425dc.zip
server_event: Remove unused former argument (fixes global access) [luacheck]
-rw-r--r--net/server_event.lua2
1 files changed, 1 insertions, 1 deletions
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