diff options
author | Kim Alvefur <zash@zash.se> | 2015-09-25 17:24:43 +0200 |
---|---|---|
committer | Kim Alvefur <zash@zash.se> | 2015-09-25 17:24:43 +0200 |
commit | cbe0ec56fd252c94c22e062e95fbce7820105dcb (patch) | |
tree | 1d1fed166f2f6b68090010996d0c96960925c3e1 /net | |
parent | 9ca3de4d24a690459b44f676cde655c17a2496f6 (diff) | |
download | prosody-cbe0ec56fd252c94c22e062e95fbce7820105dcb.tar.gz prosody-cbe0ec56fd252c94c22e062e95fbce7820105dcb.zip |
server_event: Remove unused former argument (fixes global access) [luacheck]
Diffstat (limited to 'net')
-rw-r--r-- | net/server_event.lua | 2 |
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 |